Hi,
I'm very new at this, so many apologies if this is really simple!
I'm trying to develop an update query that will add the results of two fields into a third field, only if that third field is blank.
For example: Field1 = Month, Field2=Spring/Summer, Field3=Fall/Winter. If there is NO numeric value in the month field, I want to add the results of Field2 and Field3 together, divide by 12, and have the result put into Field1.
I was thinking something like: if (month) is not null, then (month). Else, ((Spring/Summer + Fall/Winter)/12).
Anyone have a good idea of how to convert that statement above into acceptable SQL language? THANK you THANK you!!
I'm very new at this, so many apologies if this is really simple!
I'm trying to develop an update query that will add the results of two fields into a third field, only if that third field is blank.
For example: Field1 = Month, Field2=Spring/Summer, Field3=Fall/Winter. If there is NO numeric value in the month field, I want to add the results of Field2 and Field3 together, divide by 12, and have the result put into Field1.
I was thinking something like: if (month) is not null, then (month). Else, ((Spring/Summer + Fall/Winter)/12).
Anyone have a good idea of how to convert that statement above into acceptable SQL language? THANK you THANK you!!