I'm having a query score several fields for me: 1Score, 2Score, etc. I am running an update query to give me my score. It is set up like:
Field 1Score Yr1Population
Table DistressF TempDistressF
Updateto 1
Criteria >[Yr2Population]
However I need it to also be able to update to zero if the [Yr2Population] is <[Yr1Population] and I need it to update to 999 if either [Yr1Population] or[Yr2Population] is null.
I'm not certain how to do this in an update query so that my results will store into my table.
Field 1Score Yr1Population
Table DistressF TempDistressF
Updateto 1
Criteria >[Yr2Population]
However I need it to also be able to update to zero if the [Yr2Population] is <[Yr1Population] and I need it to update to 999 if either [Yr1Population] or[Yr2Population] is null.
I'm not certain how to do this in an update query so that my results will store into my table.