Quicklabel Designer Pro Uživatelský manuál Strana 138

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 194
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 137
- 138 -
9. ClickontheClosebuttontoclosetheFunctionsdialogbox.
10. Thefunction-generatedvariableisdefinedonthelabel.Youshouldlinkittotextobject
onthelabel.
11. ClickonthesmallarrownexttoTextObjectintheToolbox.
12. ClickontheoptionUseexistingvariableandselectthevariableConcatenate.
Selectingthefunction-generatedvariableConcatenate
13. Clickonthelabelwhereyouwanttoplacethetextobject.Thetextobjectislinkedtothe
newvariableConcatenate.
Thevaluesofvariables'ID'and'NAME'aremergedandsavedtothefunction-generatedvariable
'Concatenate'everytimethelabelisprocessedforprevieworprint.
Using Visual Basic Function
VisualBasicfunctionallowsyoutoperformthemostdemandinganddifficultdatamanipulationon
thelabel.Availableareallthefunctions,proceduresandoperandsfromMicrosoftVisualBasic
script.Yourscriptcantakevaluesfromalllabelvariables,workwiththevaluesandsavetheresult
inafunction-generatedvariable.
Tocreateavisualbasicfunction,dothefollowing:
1.
Clickonthe buttonintheStandardtoolbarorselectOpenintheFilemenu.Select
thelabelfileID_CARD.LBLfromthesample.
Thelabelhasalinktothedatabasesoyouseehowtheconcatenatefunctionoperateson
asetofrecords.
2. SelectthecommandFunctionsintheDatamenu.
3. Thereisalreadyonefunctiondefinedinthelabel.IgnoreitandclickontheNewbutton.
Thedialogboxwiththepropertiesofthenewfunctionwillopen.
4. Typeinthenameforthefunction,forexample'MyVisualBasicfunction'.
5. SelecttheVisualBasicScriptfunctionfromthelistoffunctions.
Zobrazit stránku 137
1 2 ... 133 134 135 136 137 138 139 140 141 142 143 ... 193 194

Komentáře k této Příručce

Žádné komentáře