Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send printer codes in Reports
Message
 
 
À
14/07/2008 23:25:37
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Divers
Thread ID:
01331226
Message ID:
01331333
Vues:
11
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform