Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic inputmask (format) in report fields
Message
From
10/07/1998 18:48:05
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00116176
Message ID:
00116364
Views:
14
>>Hello everyone,
>>
>>I need to print the same report with two diferent inputmask's in some of the fields like :
>>
>>I want to run the report sometimes with a format like :
>>. "###,###.#"
>>
>>and sometimes with :
>>
>>. "###,###.##"
>>
>>I've tried using a variable and a macro in the format option of the field in the report, but nothing worked.
>>
>>
>>Thanks in advance,
>>
>>
>>Ricardo Parreira
>
>You can use TRANSFORM as the report value and do the format at report run time:
>
>TRANSFORM(value,IIF(condition=1,'###,###.#','###,###.##'))
>
>Just make sure to leave enough room for the larger field.

Good idea

Thank you very much.
Ricardo Parreira
PHC
Portugal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform