Forum Discussion
ChayceDuncan
2 years agoQrew Captain
I'm not 100% sure what the formula errors specifically are alluding to - but from reviewing your formula they syntax in general looks off. I would suggest trying the following and seeing if it responds differently:
var text FY = [Financial Year];
If ($FY != "",
(GetFieldValues(GetRecords("{6.EX.'" & $FY & "'}", [_DBID_TANSIM_FUND]),8)),
null)
The 2 changes are:
1. Change $FY != null to "", since FY is text you need to compare it to blank text
2. In your query - you have the $FY inside of the '' as if that was the value. Break out the variable from the string by doing '" & $FY & "'
You might also have to do a ToNumber or ToText function around the query as the response from queries is a multi select value that you likely need to convert.
------------------------------
Chayce Duncan
------------------------------
PrakashMurali
2 years agoQrew Member
Hi Chayce,
Thanks for responding. I have tried your code. Still, it throws the same error. I have attached an image for your reference. Please advise on this.
------------------------------
Prakash Murali
------------------------------
Related Content
- 3 months ago
- 12 months ago
- 8 months ago
- 6 years ago