Field Type Changing With Union Query

FBandData

Board Regular
Joined
Feb 28, 2013
Messages
60
I have a Union Query that is changing the format of a field from number to text. Each of the linked tables have the field as numbers; linked file table the Access Database is also in number format. However, when I combine the 5 tables using a Union Query, it converts the field to text and is causing mismatch errors in other queries. Is there a fix for this?
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Do you have any blank or null entries in any of these numeric fields in any of the tables?
Also, is the structure of all five tables exactly the same, the same field names and types in the same order?
Are you returning all fields from all tables, or just select ones?
 
Upvote 0

Forum statistics

Threads
1,214,932
Messages
6,122,334
Members
449,077
Latest member
Jocksteriom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top