>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.