Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vertical Barcode
Message
From
30/10/2002 05:44:16
 
 
To
29/10/2002 22:07:01
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00716060
Message ID:
00716802
Views:
21
Hi!

Well, using the same principle and a bit of coding, you can do somethign similar in VFP report:

- Put large number of lines horizontally in report to cover by them an entire area and specify line width to some specific width
- using "Print When..." option, you can command what lines are displayed and what are not. Make an array for that with number of logical-type elements that match to number of lines.
- Before runnin report, or in the function called from report, prepare an array that clearly represents what lines should be displayed and what are not based on the code.

I know this is a bit complex stuff...

HTH.

>Thanks for your reply.
>I've found in the past that it's difficult (and sometimes costly) to distribute active-x objects to many users so I avoid them like the plague (although I did check your suggestion out thoroughly).
>I managed to perform the task by going through some old code that composes a code 3 of 9 barcode (original it would send the PCL Graphics command directly to a printer). I used a WP-linedraw font that had a black square as one of the characters (the '$' character), then created a memo field containing a series of $$$$'s on the line that needs the bar and a carriage return where it needs a blank bar. Then I selected a 4 point font size and added it to a report. When it prints out it, the bar code is landscape along the right edge while the rest of the text is portrait. If anyone wants the code, I'd be happy to post it here.
>Thanks again,
>Darren.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform