Struggling with this:
I have a table with six fields. I want to update the values in the six fields, in one fell swoop, if possible. The six fields contain two digit codes (record values), or they are null. What I want is: set all field values, across the six fields, to null, unless the value in any one of the fields is "CT". Does that make sense?
I know I could use six separate queries, one each for each field. And put them all in a macro. But is there a way to do this update in one query?
I have a table with six fields. I want to update the values in the six fields, in one fell swoop, if possible. The six fields contain two digit codes (record values), or they are null. What I want is: set all field values, across the six fields, to null, unless the value in any one of the fields is "CT". Does that make sense?
I know I could use six separate queries, one each for each field. And put them all in a macro. But is there a way to do this update in one query?