C
Chris Cairns
I am running Access XP ADP and I create a temporary table on my SQL 2000
Server and sometimes I can access that table via code just after creation
and other times I can not.
I think I just need to refresh the list of tables but was not sure the best
method. Keep in mind that I am accessing the newly created table using code
and not the database window. I tried the tabledefs.refresh but get an error
438.
Something Like
Set dbs = Application.CurrentProject
dbs.TableDefs.Refresh
--OR--
Application.RefreshDatabaseWindow
What's the best method to handle this sort of thing?
Server and sometimes I can access that table via code just after creation
and other times I can not.
I think I just need to refresh the list of tables but was not sure the best
method. Keep in mind that I am accessing the newly created table using code
and not the database window. I tried the tabledefs.refresh but get an error
438.
Something Like
Set dbs = Application.CurrentProject
dbs.TableDefs.Refresh
--OR--
Application.RefreshDatabaseWindow
What's the best method to handle this sort of thing?