I have a crosstab query which builds its fields using a DateDiff function.
I then use a standard append query over the crosstab to append the data. in this query I use the Nz function to return nulls as 0. However, if I use the Nz function in only the 1st field it works fine but if I use it in the subsequent fields it simply populates reach field with the value of the 1st field.
I need to either use another funtion to return nulls as zero or separate code to update nulls as zero after the append has occurred. - I can do this field by field in code but can anyone show me how to do all fields at once or with 1 piece of code?
Any help is appreciated.
I then use a standard append query over the crosstab to append the data. in this query I use the Nz function to return nulls as 0. However, if I use the Nz function in only the 1st field it works fine but if I use it in the subsequent fields it simply populates reach field with the value of the 1st field.
I need to either use another funtion to return nulls as zero or separate code to update nulls as zero after the append has occurred. - I can do this field by field in code but can anyone show me how to do all fields at once or with 1 piece of code?
Any help is appreciated.