Hello again generous friends!
I am building a query that extracts the values from two fields on a form and, dependent of the values, allocates a value to a table field.
I have tried using the following as my field in the query:
value3:if (value1=0 and value2 =0) then value3=0 else value3=1
but I get a syntax error.
Is this the right way to approach this or am I missing something?
Thanks.
I am building a query that extracts the values from two fields on a form and, dependent of the values, allocates a value to a table field.
I have tried using the following as my field in the query:
value3:if (value1=0 and value2 =0) then value3=0 else value3=1
but I get a syntax error.
Is this the right way to approach this or am I missing something?
Thanks.