Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 5 - UDF in report writer
Message
De
18/05/1997 21:42:37
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Groupes d'usagers
Divers
Thread ID:
00031975
Message ID:
00032757
Vues:
33
>>I've defined a UDF as a method in a form which will run a report, the UDF will be called from the report field expression, it can work in preview(REPORT FORM PREVIEW) but couldn't work when send to printer(REPORT FORM TO PRINTER), instead of printing the correct figure, it print the format string.(eg. 9,999,999.99).
>>
>>If I create a variable in report writer, the expression of the variable is the UDF, when I used the variable with some calculation, an error message "Data type miss match" will be given when running the report.
>>
>I've had this problem in vfp5 when running some reports from toolbar, menu, pageframe/pages > 1, and with UDFs. There is some odd scope problem (it seems) that I didn't have before vfp5. The common symptom is Preview always works, but printing has trouble with some variables. There are several workarounds (some mentioned by others) to use...
>
>I think they worked too hard on correcting Preview bugs and forgot to test all the printing. (s)
Lim Boon Eam
limbe@pc.jaring.my
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform