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

Link text files problem running on AutoExec Macro

Status
Not open for further replies.

netsmurph

Technical User
Mar 19, 2003
63
GB
I have a database that uses linked tables and linked text files.

At startup I need to relink the tables to tables/files in the same directory as the application db.

The procedure runs fine if run the both are executed separately or together (in one macro), but if I put one or both into an autoexec macro, the relink text files procedure errors out, saying that it cannot find the specified path, while the relink tables is successful.

I cannot see why this should execute differently via the Autoexec macro and have exhasted all possibilites that i can think of.

Does anyone have any idea why this would be occuring or how to get around it?

Is there are way to run code at startup not using the autoexec macro?

Thanks if anyone can help out on this puzzling one.

Andrew
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top