Define the Collection

Visual LANSA

Define the Collection

The collection to store child forms is defined like this:

 

Define_Com Class(#Prim_Kcol<#FormB #Std_Num>) Name(#FormBs)

 

  • The collection is named #FormBs and it collects components named #FormB.
  • It is keyed by #Std_Num ie: a packed (7,0) number.

Ý Example 3: Collection to Manage Forms