Quicklabel PowerForms Bedienungsanleitung Seite 14

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 47
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 13
- 14 -
l WhenyouusecommandsINSERT,UPDATEorDELETEthevariablewillcontainthe
numericalvalue,whichrepresentsthenumberoftherowsaffectedbythecommand.
Youcanusethisresultforexecutiontracking.Iftheresultis0,noupdatesweredonein
thedatabase.
l WhenyouusecommandSELECTthevariablewillcontaintheresultreturnedfromthe
databaseserver.
TheresultforSELECTcommandcanbe:
l Value of a single field:inthiscaseyourSQLstatementiswrittentoreturnjustsingle
fieldfromonerecordfield.
Samplestatement:
SELECTMyFieldFROMdbTableWHEREID=1
Result:Ifthereisjustonerecordmatchingtheabovecondition,thevalueofvariable
willbevalueoffieldMyField.
l Values of two or more fields, in one or more records:Inthiscaseadatasetis
returned.Eachlineinthedatasetcontainsdatafromonerecord,fieldsareincludedinthe
line,delimitedbycomma(,).Thefirstlinewillcontainnamesofthefields.Youwill
havetowriteascripttoparsethevaluesintoindividualvalues,ifyouwanttouseindivid-
ualfieldsintheform.
Samplestatement:
SELECT*FROMdbTableWHEREID=1ORID=2
Theresult:
"ID","MyField"
"1","field1"
"2","field2"
Condition:Thisisascriptingbooleanexpression.Onlytworesultsarepossible(TrueandFalse).
Usethisoptiontoenablecurrentactiononlywhensometermismet.Theactionwillbestartedonly
ifconditionreturnsTrueastheresultoftheexpression.
For Every Label
Thepropertydefinesthelistoflabelsforwhichalldefinedactionswillbeexecuted.
Fixed values:Definethelistoflabels.
l Add:Addlabelstothelist.
l Arrow next to the Add button:Addvariablestothelist.Thevariablesmustcontain
thepathandnameofthelabel.
l Delete:Removetheselecteditemfromthelist.
l Arrow buttons:Changetheorderoflabelsinthelist.Thisistheorderinwhichthe
labelsareprinted.
Variable value:Selectonevariablethatwillcontainthepathandnameofthelabel.
Condition:Thisisascriptingbooleanexpression.Onlytworesultsarepossible(TrueandFalse).
Usethisoptiontoenablecurrentactiononlywhensometermismet.Theactionwillbestartedonly
ifconditionreturnsTrueastheresultoftheexpression.
Seitenansicht 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 46 47

Kommentare zu diesen Handbüchern

Keine Kommentare