By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,863 Members | 879 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,863 IT Pros & Developers. It's quick & easy.

How do you tell A2K developer the default location for the application?

P: n/a
I want to change the default folder but can't seem to see where this is
done.

--
Regards,
Peter

www.AAAdataSystems.com
Personal Organizer software. Managing personal contacts, projects, time &
knowledge
Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
The default folder is:
CurDir

The folder where the mdb file resides can be parsed from:
dbEngine(0)(0).Name

The location of the data file for an attached table can be parsed from:
dbEngine(0)(0).TableDefs("MyAttachedTable").Connec t

To programmatically check the location of attached tables when the
application starts, and and pop up a File Open dialog for the user to locate
where they have moved to, see solutions.mdb. This file is an optional sample
database that can be installed with Access 97. For later versions, you can
download the file from:
http://msdn.microsoft.com/library/of...dbdownload.htm

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html

"wolftor" <wo*****@rogers.com> wrote in message
news:jQ*********************@news01.bloor.is.net.c able.rogers.com...
I want to change the default folder but can't seem to see where this is
done.

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.