Hi,
I am new to crystal, any help is appreciated, The issue is writing a record selection formula, We have a JSP app through which our users access reports. The requirement is, There is Name and serial number for an equipment, If the user selects Name it has to populate all the Machine's available or if the user selects serial number it has to select the select the serial number it has to populate the serial number's from the database, So if they select either one, there is a drop down that will populate accordingly.
I am writing a formula for that in the record selection, which is returning error, We are using universe, If it is possible at the universe level we can do that too.
The formula I wrote is:
(
IF {?Equip} = 'Name' then {Query1.Machine}
Else IF {?Equip} = 'Serial Number' Then {Query1.Serial number}
)
It is throwing me an error.
Thanks, Any help is appreciated.
I am new to crystal, any help is appreciated, The issue is writing a record selection formula, We have a JSP app through which our users access reports. The requirement is, There is Name and serial number for an equipment, If the user selects Name it has to populate all the Machine's available or if the user selects serial number it has to select the select the serial number it has to populate the serial number's from the database, So if they select either one, there is a drop down that will populate accordingly.
I am writing a formula for that in the record selection, which is returning error, We are using universe, If it is possible at the universe level we can do that too.
The formula I wrote is:
(
IF {?Equip} = 'Name' then {Query1.Machine}
Else IF {?Equip} = 'Serial Number' Then {Query1.Serial number}
)
It is throwing me an error.
Thanks, Any help is appreciated.