Page 1 of 1

(RPGLE/DDS) Table Examples

Posted: Fri Mar 14, 2014 9:09 pm
by DavidS
Hello, does anyone have a detailed table example that highlights the various keywords that are usable?

What I'm trying to do is set up a 6-column table, with 3 text columns (maxlength 5,15,6) and 3 integer columns (maxlength 4.0, 8.1, 5.3) so I've been trying combinations like the below but the keywords aren't recognised when attached to a column. I've gone through the programming guide and the examples but can't seem to find any that cover this.

I also tested other keywords such as the ones suggested by tsupartono when I was previously having issues with textboxes but perhaps there's some slightly different syntax that has to be applied when it's within a column?

Code: Select all

A* Define column 3 - Ident                                        
A                                       Col%3                     
A                                       (                         
A                                         Name:IDENT              
A                                         Type:TextBox            
A                                         Maxlength:15            
A                                         Header.Value:"Ident"    
A                                       )                         
A                                      ')                         
A* Define column 4 - Quantity                                     
A                                       Col%4                     
A                                       (                         
A                                         Name:Quantity           
A                                         Type:TextBox            
A                                         Datatype:Integer        
A                                         Maxlength:4             
A                                         Header.Value:"Quantity" 
A                                       )                         
A                                      ')