[AccessD] Read External File for Path String

Stuart McLachlan stuart at lexacorp.com.pg
Thu Jan 19 21:13:21 CST 2006


On 19 Jan 2006 at 18:26, Dan Waters wrote:

>> Try replacing it with CurrentProject.path
...
> I had done that already.  The path string is correct.

Here's an alternative, how does this one work:

Dim f as Long
dim strTemp as string
f=freefile
Open CurrentProject.Path & "\dbpath.dat" for input as f
line input f,strtemp
close f
-- 
Stuart





More information about the AccessD mailing list