
- 42 -
1. Clickonthesmallarrowbuttonnexttotheobjecticoninthetoolbox.
Acontextmenuwilldisplay.
2. SelecttheoptionUse Existing Variable.
3. Selectthevariablefromthelist.
Note:
Iftherearenovariablesinthelist,clickontheNewbuttonandcreateanewvariableorimportvar-
iablesfromthelabel.Thenrepeattheprocessfromstep1.
4. Clickontheformwhereyouwanttopositiontheobject.
Print a Label Which File Name is Read
from the Database
1. Createnewform.
2. SelectthecommandGetvariablesfromtheDesignmenu.
3. Browsetooneofthelabelsyouwanttoprintandclickonit.
Thevariablesfromthelabelwillbeimportedontheform.
Note:
Alllabelsthatyouwanttoprintusingthesuggestedapproachmusthavedefinedthevariableswith
thesamename.
4. SelecttheoptionVariablesintheDatamenu.
5. ClickontheAddbuttontodefineonelocalvariablethatwillcontainthenameofthe
labelfilethatshouldbeopened.
NamethevariableLabel.
6. SelecttheDatabaseAccessintheDatadialogbox.
7. ClickonthebuttonsWizardtocreateaconnectiontoadatabasethatstoresthelabel
names.SelecttheoptionI want a table objectinthedatabasewizard.
8. Doubleclickthetableobject.
Tablepropertieswillopen.
9. GototheColumnstab.
10. MakesurethevariableLabelislinkedtothedatabasefieldcontainingthenameofthe
label.
11. ClickontheOKbutton.
12. Placeabuttonobjectontheform.
13. Doubleclickthebuttonobject.
14. GototheActionstab.
15. ClickontheEditbutton.
16. InserttheactionOpen labeltotherightpane.
17. IntheactionpropertiesselecttheoptionVariable label file name.
18. SelectthevariableLabel.
19. ClickontheOKbutton.
20. Definetherestoftheactionsforthebutton.
21. ClickOKtoreturntotheform.
Whenyouselectarecordinthetable,thelabelnamewillbesavedinthevariableLabelandthe
appropriatelabelwillbeopenedandprinted.
Comentários a estes Manuais