Getting Started with TRANSACT (32247-90007)

Chapter 9 155
Creating Custom Applications
Rearranging the Form
Rearranging the Form
Perhaps the easiest form of localization is to rearrange the order of elements on the form.
Our program form specification does not include any element ordering information. This is
controlled through the dictionary. Thus, this localization can be accomplished by modifying
the form using FORMSPEC, changing the element sequence on the form definition in the
dictionary, and recompiling our program using TRANCOMP.
The same program could then handle input from a form such as this:
Figure 9-4. Rearranged Customer VPLUS Form
Changing the form definition in the dictionary might go something like this:
vcustomer customer data
name [ ] number [ ]
address [ ]
city,state [ ]
zipcode [ ]