Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
my question is:
how do you write code that uses the field name with an If statement;
e.g. If tree = 'Y', then get the tree name from Tree Name column
IF( Tree = 'Y', Tree Name)
Looks right to me. Is it not working?
try fro the same
IF( Tree = 'Y', [Tree Name],[Tree Name])
If you are calling a column with spaces in the name, then this will have to be surrounded by square brackets;
if(Tree = 'Y', [Tree Name])
If using this statement in a text box, it will have to be proceeded with an equals.
I don't get the tree names.
it is now working; I surrounded the field name with quotation marks