I want my calculated field to have a conditional value like this:
if fieldA is 0 then set fieldC to 0
else field C = fieldB / fieldA
How do I do this? Thanks.
And while you are at it, how do I do this in an Access VBA routine so that I can keep on revising my conditions.
In a table definition: not possible.
As a query:
As SQL text in VBA: replace the ; with ,