The Brown Growler
Registered User.
- Local time
- Today, 14:23
- Joined
- May 24, 2008
- Messages
- 85
Hi,
I am using a union query to merge the results of two separate queries. For one of these separate queries I am setting the entire contents of a date field to null, similarly for a number field. However, when I run the actual union query I am getting the data type mismatch error.
I presume it is caused by the date and number field in one query not being able to be merged with the same date and number field from the other query when unified ?
I can get the union query to run if I set the date and number field formats to text in the query I require the blank cells by using "". However, I then lose the date and number format of these fields in the union query.
Any help most appreciated.
Rgds
Growlos
I am using a union query to merge the results of two separate queries. For one of these separate queries I am setting the entire contents of a date field to null, similarly for a number field. However, when I run the actual union query I am getting the data type mismatch error.
I presume it is caused by the date and number field in one query not being able to be merged with the same date and number field from the other query when unified ?
I can get the union query to run if I set the date and number field formats to text in the query I require the blank cells by using "". However, I then lose the date and number format of these fields in the union query.
Any help most appreciated.
Rgds
Growlos