I'm attempting to reference another tables to see if a company is on 'Credit Hold', but the query is throwing the error 'Invalid formula: Subqueries are not allowed in this context. Only scalar expressions are allowed.' each time I try to apply it. I am trying to apply this on the 'Table Design' with a formula field where it wont work. HOWEVER, it works just fine on the view details page. Any ideas?
SELECT CreditHold FROM CompanyCreditHolds where CompanyName = target.[@field:CompanyName]
The field CompanyName from the table CompanyCreditHolds is unique, so I'm unsure why I am constantly getting this error.
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.
Question
BGrambo
Hello Everyone,
I'm attempting to reference another tables to see if a company is on 'Credit Hold', but the query is throwing the error 'Invalid formula: Subqueries are not allowed in this context. Only scalar expressions are allowed.' each time I try to apply it. I am trying to apply this on the 'Table Design' with a formula field where it wont work. HOWEVER, it works just fine on the view details page. Any ideas?
SELECT CreditHold FROM CompanyCreditHolds where CompanyName = target.[@field:CompanyName]
The field CompanyName from the table CompanyCreditHolds is unique, so I'm unsure why I am constantly getting this error.
Link to comment
Share on other sites
3 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.