Getting Started with TRANSACT (32247-90007)
6
Figures
Figure 2-8. . Program to Update Data in a Dataset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42
Figure 2-9. . Interactive Updating of a Dataset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
Figure 2-10. . Program Using a Record Already Retrieved . . . . . . . . . . . . . . . . . . . . . . . . .44
Figure 2-11. . Program to Change a Key Field Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45
Figure 2-12. . Changing a Key Field Value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46
Figure 2-13. . Program to Change Key Values Using REPLACE . . . . . . . . . . . . . . . . . . . .47
Figure 2-14. . Program to Delete Records. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48
Figure 2-15. . Interactively Deleting Records. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49
Figure 2-16. . Program Using REPEAT to Loop. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50
Figure 2-17. . Program Using WHILE to Loop. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51
Figure 2-18. . Program Using LEVEL to Loop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
Figure 2-19. . Program Using Command Mode for Add, Update, and Display. . . . . . . . . .53
Figure 2-20. . Command Mode Interaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
Figure 2-21. . Program with Subcommands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57
Figure 2-22. . User Interaction with Subcommands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58
Figure 3-1. . Dictionary Definitions of Customer Form and Dataset . . . . . . . . . . . . . . . . .60
Figure 3-2. . VPLUS Form for Adding Customer Data . . . . . . . . . . . . . . . . . . . . . . . . . . . .61
Figure 3-3. . Program accessing a VPLUS form. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61
Figure 3-4. . Using Command Mode with VPLUS for Looping . . . . . . . . . . . . . . . . . . . . . .62
Figure 3-5. . Using LEVEL with VPLUS for Looping . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62
Figure 3-6. . Using REPEAT with VPLUS for Looping . . . . . . . . . . . . . . . . . . . . . . . . . . . .62
Figure 3-7. . Preventing a Blank Record. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63
Figure 3-8. . Using LEVEL with VPLUS to Update Data . . . . . . . . . . . . . . . . . . . . . . . . . .64
Figure 3-9. . Using REPEAT with VPLUS to Update Data. . . . . . . . . . . . . . . . . . . . . . . . .65
Figure 3-10. . Dictionary Definition of Customer Number Form . . . . . . . . . . . . . . . . . . . .65
Figure 3-11. . VPLUS Form for Customer Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66
Figure 3-12. . Program accessing two VPLUS forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66
Figure 3-13. . Using VPLUS to Display Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
Figure 3-14. . Dictionary Definitions for Customer Forms to be Appended . . . . . . . . . . . .68