I have to format a field based upon another field.
Here is an example:
Table1.Field1 Table1.Field2
234 0,000.00
123ST Text
1256 0.0%
444455 0.00%
1145 0.00 and so on.
So,
if the format in table1.field2 say =0.0%, then 1256 should be displayed as 1256.0%.
if table1.field2=text then "123ST"
if table1.field2=0.00% then 444455.00%
like this. There are unknown number of formates.
Is there a way to do this in crystal?
Thanks,
Here is an example:
Table1.Field1 Table1.Field2
234 0,000.00
123ST Text
1256 0.0%
444455 0.00%
1145 0.00 and so on.
So,
if the format in table1.field2 say =0.0%, then 1256 should be displayed as 1256.0%.
if table1.field2=text then "123ST"
if table1.field2=0.00% then 444455.00%
like this. There are unknown number of formates.
Is there a way to do this in crystal?
Thanks,