Table Field Formating

gheyman

Well-known Member
Joined
Nov 14, 2005
Messages
2,347
Office Version
  1. 365
Platform
  1. Windows
I created a query Make Table. When I run the query everything is good. When it does the Make table the data in one of the fields changes. Can anyone give me an idea of what to look for to fix this?
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
For what purposes are you using this Make Table Query for?

Personally, I am not a big fan of Make Table Queries. You are kind of at the mercy of Access, in what it thinks the Data Type of each field is, and you really cannot set the Indexes or Primary Key (at least not with using some VBA).
What I prefer to do is create the shell of a table exactly the way I want it, with all the right data types, indexes, primary keys, etc. Then, use an Append Query to write data to this table. If you need to use this again and again, just use a Delete Query to delete all the data from it before your next run. So you never have to make a new table, you just keep re-using the same one.
 
Upvote 0

Forum statistics

Threads
1,221,773
Messages
6,161,855
Members
451,724
Latest member
sledparty

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