Relative/Absolute path...

G

Guest

I have used three linked tables in my front end form. The problem is that the
path of the tables are all absolute and I want to turn them into relative
links so that whenever I place my database and form in some other directory,
the form works there as well.

Any idea?

Thanks.
--Talha
 
A

Allen Browne

Access does not support relative paths in the Connect property of a
TableDef, but you can reassign them in your database startup code.

This example assumes the linked tables are in the same folder as the front
end:
http://allenbrowne.com/ser-13.html
You could adapt that to suit other folders below that.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top