Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Frx prints inside calling form
Message
 
À
16/06/2010 10:45:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01468972
Message ID:
01469372
Vues:
37
I may have narrowed my problem down to this. I always try to make my code useful. For instance, when preparing to print reports I have a form that enables you to select the report you want by moving it from one edit box to the "to be Printed" side. Okay, that has always worked before for me. But now it seems when that mover box creates the report command, and extra carriage return is some how entered into the character string.
m.lcReport = "Report Form " + lcChosenReport + " Preview"
The report name is held in a memo field and when needed/selected, it is stored in the mv lcChosenReport.
When I use the macro expansion to execute this concatenated string, the "preview" text appears on a second line causing the report to mishandle my desired output.
If I explicitly issue the command with hard coding, it works as expected.
I have tried to strip the chr(13) from the mv lcChosenReport before concatenating, but the "preview" option still appears on line 2.

This issue just came up to rear its ugly head, so I must have changed (hosed) something in my environment?

Thanks,

Gary De Lecce
Driving toward a Tactical Edge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform