Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query and bar code labels

Status
Not open for further replies.

benzhaotb

Technical User
Dec 25, 2001
46
US
Hi every one;
I am using Foxpro 7.0. I want to do a query, then use the queyr to make bar code labels. I know how to make bar code labels but I don't know how to link the barcode labels with the query. Please help! Thanks.
 
Thanks. I need to print out patient ID, specimen type, and date from our hospital admision. I need to do a query by date, then print bar code according the query results.
 
Thanks. I need to print out patient ID, specimen type, and date from our hospital admision. I need to do a query by date, then print bar code according the query results.

Barcode is just a font like any other fonts. You can find free barcode fonts on the internet, and instead of using a "regular" font for your lable, change it to the barcode font. Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Hi Mike;
I knew how to do bar code. My problem is that how can link a bar code to a query, I only need to print out bard code for cerntain dates e.g 2/27/03.
 
Use the report designer, label designer, or even ???.
Using the report or label designer, create fielsd corresponding to the fields from the query, and set the font to whichever the barcode font is. Then:

SELECT f1, f2, f3 FROM MyTable ;
INTO CURSOR MyCursor

LABEL FORM MyBarCodes
-or-
REPORT FORM MyBarCode
-or-
??? patient_ID + ' ' + specimen_type + ' + DTOS(date );
FONT 'Code39'

Dave S. [cheers]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top