Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send printer codes in Reports
Message
 
 
To
14/07/2008 23:25:37
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
01331226
Message ID:
01331333
Views:
12
It's not going to work because a printer driver will treat them as regular characters.

>Create a field at the end of the group, and put CHR(27)+CHR(109) as the expression to print. Then be very careful with the Print When expression to make sure the field prints only when it should - maybe manipulate a report variable. One way would be to have a variable a copy of the group expression, and print these two characters only when it's still different from the group expression - because you'll set it equal in a call to _vfp.docmd("yourvar=groupexpr") from the group's footer.
>
>Now if I have misnamed any of the features here, I hope somebody else will jump in. I don't do this too often - last VFP report was years ago - so I know this stuff on principle and memories, but can't remember the names of things you use.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform