Altair Posted August 19, 2019 Report Share Posted August 19, 2019 I have something slight wrong with the formula Formula: WHERE ([@field:Member_status] ='Hibernated 2018/19') THEN 'N/A' ELSE SELECT ([@field:Sub_status_summary]) FROM m_membership_master_accounts WHERE Account_Email= target.[@field:Account_Email] Error: Incorrect syntax near (. Quote Link to comment Share on other sites More sharing options...
0 Nuke354 Posted August 19, 2019 Report Share Posted August 19, 2019 For you to resolve the error message, please try this formula instead: CASE WHEN ([@field:Member_status] ='Hibernated 2018/19') THEN 'N/A' ELSE (SELECT ([@field:Sub_status_summary]) FROM m_membership_master_accounts WHERE Account_Email=target.[@field:Account_Email]) END Hope this helps. Quote Link to comment Share on other sites More sharing options...
0 Barbie Posted August 20, 2019 Report Share Posted August 20, 2019 Hi, Just to add some information, you can also check this link: https://howto.caspio.com/function-reference/ Just go to the "MISCELLANEOUS FUNCTIONS AND EXPRESSIONS" and you will see a sample syntax of case when function. Hope this helps. - Barbie Quote Link to comment Share on other sites More sharing options...
Question
Altair
I have something slight wrong with the formula
Formula:
WHERE ([@field:Member_status] ='Hibernated 2018/19') THEN 'N/A' ELSE
SELECT ([@field:Sub_status_summary]) FROM m_membership_master_accounts WHERE Account_Email= target.[@field:Account_Email]
Error: Incorrect syntax near (.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.