AS400 Display File: Check Box (MLTCHCFLD)


Check box can be added to the AS400 Display using the Multi Choice Field.
Each Choice in the MLTCHCFLD should have a Choice control defined as below. These Choice Control can be used in the Program logic.


A            MOPT           2Y 0B  3 58MLTCHCFLD              
A                                      CHOICE(1 'Shipment')    
A                                      CHOICE(2 'Transfer')    
A                                      CHOICE(3 'Ship to ')    
A                                      CHOICE(4 'Model')      
A                                      CHCCTL(1 &CHC1)        
A                                      CHCCTL(2 &CHC2)        
A                                      CHCCTL(3 &CHC3)        
A                                      CHCCTL(4 &CHC4)        
A            CHC1           1Y 0H                              
A            CHC2           1Y 0H                              
A            CHC3           1Y 0H                              
A            CHC4           1Y 0H                               

Comments

Popular posts from this blog

AS400 : Add a new line in text in email SNDSMTPEMM

AS400 Display: Radio Button (SNGCHCFLD)