Getting Started with TRANSACT (32247-90007)
86 Chapter5
Automatic Error Handling and Prototyping
Figure 5-6. Automatic Error Handling with VPLUS Append
Up to this point, no order line has been added to the database. The valid line number,
part-number, and quantity would be entered into the blank form line.
After you have a good understanding of the VPLUS interface using Transact, you will
discover that there are ways to get automatic error handling to do what you want it to,
even when using the APPEND and FREEZE options. The following version of our program
demonstrates this. No functionality has been added. Only code to make automatic error
handling properly display the correct screen format has been added.
vorderhead order data
order number [123 ] customer [CUST1] status [0 ] date [850101]|
line number [1 ] part-number [PART1 ] quantity [10 ]
line number [ ] part-number [ ] quantity [ ]