G
Guest
I'm trying to create a macro to automate a process of running a make table
query from tables I have linked with ODBC. Access interprets the data type
as text. They are intended to be used as date/time.
The following are the steps I tested so far:
SetWarnings No (table will be overwritten)
OpenQuery as datasheet in edit mode
OpenTable in design view in edit mode
SendKeys to tab 28 times, change data type to date/time, tab 3 times, change
data type to date/time
Close and save the table.
The problem I have is once the table attempts to save there are 4 records
violating the date/time type. And a DeleteObject action appears in my macro
with a D in the comment column. What would one suggest to accept this dialog
proceed and lose the 4 records and complete the close process of the table
without warnings and user intervention?
Thank you for your help.
query from tables I have linked with ODBC. Access interprets the data type
as text. They are intended to be used as date/time.
The following are the steps I tested so far:
SetWarnings No (table will be overwritten)
OpenQuery as datasheet in edit mode
OpenTable in design view in edit mode
SendKeys to tab 28 times, change data type to date/time, tab 3 times, change
data type to date/time
Close and save the table.
The problem I have is once the table attempts to save there are 4 records
violating the date/time type. And a DeleteObject action appears in my macro
with a D in the comment column. What would one suggest to accept this dialog
proceed and lose the 4 records and complete the close process of the table
without warnings and user intervention?
Thank you for your help.