Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The Result of selection formula must be a boolean

Status
Not open for further replies.

rwn

Technical User
Dec 14, 2002
420
US
I have this basic formula:
if {@SalesCode} = "NA"
then {Job.Sales_Code}
else {Job.Sales_Code} = {@SalesCode}

the formula is a String and so is the Field of the table Job.

However, it errors and states: ....The Result of selection formula must be a boolean......

Thank you for any assistance!!
 
I believe that you need to set the Sales_Code field equal to something. If you're trying to get it to return all Sales_Code records if the user enters "NA" then you may need to try:

if {@SalesCode} = "NA"
then {Job.Sales_Code} like "*"
else {Job.Sales_Code} = {@SalesCode}
 
Thank you very much. That was the issue!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top