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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determine number of labels

Status
Not open for further replies.

FCAS

Programmer
Jun 28, 2001
7
GB
Is there any method of programmatically determining the number of labels across the width of the paper ?
 
Thanks audiopro

ok .. so maybe I need to know the (width of paper / (width of label + gap between labels)) Any ideas how I can access this information from the report design ?
 
I have always worked the other way round.
Found a suitably sized label for the required job and formatted the layout to fit it.
I suppose it depends what you are doing but I have always had a specific purpose in mind and this has governed the size etc.
There are preferred sizes of label which are already included in the label designer, stick to one of those if you possibly can.



Keith
 
ok, I found it...
The VPOS field for record with OBJTYPE=1 in Label.LBX contains the number of columns.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top