(RPGLE/DDS) Table Examples

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
DavidS
Posts: 15
Joined: Wed Jan 22, 2014 7:41 pm

(RPGLE/DDS) Table Examples

Post 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                                      ')                             
Post Reply