Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic formatting of a report field
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01392107
Message ID:
01394322
Views:
38
>> Can you use a function to format a field?
>
>Hi Russell
>
>I usually do that at run time.
>
>Double click on the field on the report - Press "Other" Tab - Press "Edit Comment" - Put any comment you want there (let say "comment1")
>
>Use MyReport.Frx in 0 Shared Alias tbl_report
>Select tbl_report
>Locate for comment = "comment1"
>Replace fillchar with "N" && Change Type C or N
>Replace picture with "###,###.##"
>
>
>hth

Yes, that's another "old fashioned" way, but one I was never too fond of. Often the report is excluded from the EXE in order to accomplish this, though I think VFP will let you copy it out of the EXE and to a temp file that you can then modify, print, and delete. At least that's the way I remember it (I just don't do that, so I'm a little fuzzy here).
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Previous
Reply
Map
View

Click here to load this message in the networking platform