FAQ
Domande frequenti per l'auto-aiuto.
Si prega di dare una rapida occhiata alle domande (e risposte) comuni nell'elenco predefinito. Se non riesci a trovare quello che stai cercando, inizia selezionando la tua versione di Ability Office e poi restringila inserendo il testo di ricerca e/o la categoria.
Articolo della base di conoscenza 100
Start Database and open a formHow to open a database from the desktop and automatically display a form
First Part: create a link on your desktop that runs the database application
- Right-click over the desktop and select New/Shortcut
- Select Browse and choose the abdata.exe program (it's normally in c:\program files\ability office 4\)
- Select Finish
- Right-click over the database and select properties
- Add the name of the database to the Target and include the name of the macro you are going to create. For example, suppose your database is called "MyData" and is a folder called "MyDocs" on your C: drive, the full Target should read:
"C:\Program Files\Ability Office 4\Abdata.exe" c:\MyDocs\MyData.adb#StartUp
Second Part: create the macro to open a form
- Open the database containing the form you want to display
- Select File/New/Macro and call it "StartUp"
- Edit the macro so it opens the form. For example, suppose the form is called "CustomerForm", the macro should look like this:
Sub Startup ()
DBForms.Open("CustomerForm")
End Sub
Now you can close the database and test the link on the desktop - the result should be that the form you want is displayed