You run forms to display and change information in the database. You can run a form at any time after InfoMaker has generated a basic form.
To run a form you are not currently working on:
Click the Preview button in the PowerBar, select the form in the Run/Preview dialog box, then click OK.
To run a form you are currently working on:
Click the Run button in the PainterBar.
You are now running the form. Command buttons and picture buttons you have placed in the form are now active. For information about adding controls to a form, see Chapter 20, “Enhancing Forms.”
Exactly what you can do when you run the form depends on the form style. It is the form style that determines the menu items that display in the menu bar and the buttons that display in the PainterBar when you run a form.
Typically when you run a form, InfoMaker retrieves the data from the database and displays it to you; then you can scroll through existing data and add, modify, and delete rows in the database.
When you change data using a form If you change data and you do not click the Update button before closing the form, InfoMaker prompts you to save data in the database before closing the form.
For complete information about what you can do when running forms that use InfoMaker's built-in form styles, see “Actions in forms”.
If you need information about running forms using a style developed by a PowerBuilder user at your site, see the developer.