Hi
I have a query that I want to amend so that at run time it looks for a value in one field and dependant on the value returned uses one of 2 other fields values to populate itself,
So:
Field to populate is called LatestCode,
Fields to check are AuditDate (see if it has a date in it)
Result Fields are OrigCode and NewCode
I have the following LATESTCODE: IIf([AuditDate]<=0,[OrigCode],[NewCode])
I am not getting any reult from this just, I have never used other field names to populate the new field like this so is it actually possible to do this or have I missed something in the formula..
Any help welcome
Regards
JB