Field Size and Data Type in Query

cfmiles

Registered User.
Local time
Today, 23:35
Joined
Jul 9, 2001
Messages
17
Is there a way to define the Field Size and Data Type in the query when performing a Make Table?

I've tried Setting the field size and data type in an "existing" table and then use an append query to fill it, however, I receive a validation rule error.

I can make the table and then change the field size and data types for all of the fields without losing any data....
>>>>>> I need to give this file to someone every month, so a more automated way would be much appreciated!

Thanks in advance for any help!
 
You can create a table using vba code.
You could set the field type, size etc.
 
The validation rule you're probably running afoul of is the one associated with the "allow zero length" property. The default for this property is no. If your data may contain zero length strings, set the property to yes.
 
Thanks to both of you for the suggestions. The Allow Zero Length "Yes" was the best solution for what I was doing. Thanks so much for the response!
 

Users who are viewing this thread

Back
Top Bottom