FAQ
Frequently asked questions for self help.
Please take a quick look at common questions (and answers) in the default list. If you can't find what you're looking for, start off by selecting your Ability Office version and then narrow it down by entering search text and/or category.
Knowledge base article 103
How to create a control panel (or switchboard) in DatabaseSuppose you want a form that acts as a central point to the user and allows him to choose other forms or tables or run macros. Here is a guide on creating such a form:
- From Database Manager, select Create form using wizard
- Pick any table (or create a dummy table - it does not matter)
- Add one field and Finish the wizard
- In Form Design mode, delete the field since all we want the user to see is buttons and text
- Select Insert/Macro Button and draw out the button on the form
- Right click over the button and select Properties
- Set an appropriate caption and click on Macros
- In the Events column, select Click
- Click New Macro and give it a name to match its function
- Repeat steps 5 to 9 as required
- Save the form and in Database Manager, select Macros
- Click on each of the new macros in turn and right-click and select Edit
- You can rename the default "MacroName" to something more meaningful
- Add code to open a form or table or report. Examples:
- DBForms.Open("SomeFormName")
- Tables.Open("MyTableName")
- Reports.Open("Report1")
- Quit
Note that the above are all single line macros - you can make them as simple or complex as you want. The last of the above examples exits the database application.
You can now edit the form and add text (and pictures) to make it more user friendly.
See also Knowledge Base Article 100: Start Database and open a form for details on how to open the form automatically.