Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

looking for a table in the tabledefs collection

Status
Not open for further replies.

ziwacky

Programmer
Jun 27, 2000
43
US
Will someone know the why of this one.

I am importing a table using docmd.transferdatabase. If I loop through all the tabledef in my tabledefs collection, sometimes I can see the new table included in the list, and sometimes I don't. Mostly I don't and I need to see for what I'm trying to do.

Thx, Z
 
After importing, try "RefreshDatabaseWindow" then loop through.

I didn't try it out, but it should work.

 
Hi Z

After importing are you calling db.tableDefs.Refresh where db is a variable of a database type.

Hope this helps,
Rewdee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top