Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Implementing dynamic Picture property for fields
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00733675
Message ID:
00733757
Views:
31
Instead of defining it numberic and entering the format .. create a variable that has the format and then define it as character and use the following expression:

TRANSFORM(MyNumber, cFormat)


>I have a lot of calculated fields in report.
>
>Before viewing report, I want to allow user to select three different
>precisions for all numeric field for reports. One, two or zero digits after points :
>
>999 999 999.99
>999 999 999.9
>999 999 999
>
>Format field in reprot designer accepts only constant format
>expressions.
>How to use three different format expressions in same format for numeric fields ?
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Reply
Map
View

Click here to load this message in the networking platform