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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ODBC Linking

Status
Not open for further replies.

dcreswell

Technical User
Jul 7, 2006
2
US
Hello everyone:

I am linking foxpro odbc tables to an access database through vba. For each table, I get a prompt to select a unique record identifier. This would be ok for a couple of tables, but I could potentially have thousands of them. Is there any way to programmatically bypass this prompt if I knew the unique identifier at runtime?

I am using the following code to link the tables...

DoCmd.TransferDatabase acLink, "ODBC Database", strConn, acTable, strTable(i), strTable(i), 0

Any help is appreciated.

Thanks,
David Creswell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top