Filedb,open,name - open database, Filedb,move,n - move data record, Filedb,find,x,y - searching from database – GoDEX EZPL User Manual

Page 46: Filedb,open,name, Filedb,move,n, Filedb,find,x,y

Advertising
background image

41

E - Terminate label formatting mode and print label

Syntax

E

Parameter

None

Description

End of formatting command; printer will print label after receiving this command.

FILEDB,OPEN,name - Open database

Syntax

FILEDB,OPEN,name

Parameter

name = the name of the database

Description

Open a database for printing.

Example

FILEDB,OPEN,customer

FILEDB,MOVE,n - Move data record

Syntax

FILEDB,MOVE,n

Parameter

n = number

n = FIRST, the first record

n = LAST, the last record

n = NEXT, the next record

n = PRIOR, the prior record

Description

Use variable or counter to select a specific record from the database.

Example

FILEDB,MOVE,3

FILEDB,MOVE,FIRST

FILEDB,MOVE,NEXT

Move to third record

Move to first record

Move to next record

FILEDB,FIND,x,y - Searching from database

Syntax

FILEDB,FIND,x,y

Parameter

x =Column name in database file

y =Keyword for searching

Description

Select a specific record form database and print it.

Example

Download database “customer” :

^Q60,0,0

^P1

^L

FILEDB,OPEN,customer

V00,10,Prompt0

V#LINKDB,PHONE,V00

FILEDB,FIND,NAME,Mary

AC,79,120,1,1,0,0, Marry’s phone:

^V00

E

Find Mary’s data and print it.

Advertising