I am having a similar issue where I have to change a fields property from
text to short date.
In short, I have Access Tables linked to an external database (ODBC) which I
need to refresh with external data on demand. I use VBA to Delete the
existing Table, then to run the Make-Table Query keeping data current.
Problem I have is that the default Data Type for the Date, is Text. I can't
make the Make-Table Query save it as "Date/Time" even though the Format is
"mm/dd/yy". All the table data looks like a date yet...
I'd like to change the Data Type to Date/Time automatically after the table
is created.
I reviewed the Function attached and am having trouble getting it to work.
"VBA encountered problem attempting to access property or method."
I'm sure I'm not calling it correctly or not declaring everything? Being
that I am still an intermediate user, do you have any pointers on setting up
the Function and how to call it?
Save it as a Module? Leave it attached to the form (The Update button is
there)?
Thanks.