B
bobg
running access 2k in FE/BE arrangement;
I have created a function in my FE that gets the path to the BE using
TD.connect...
what I would LIKE to do, is declare a constant ie: MYDBPATH, that
contains the path extracted from the .connect string.
ie:
fGetPath() returns something like "d:\data\dbdata\mydb-data.mdb"
I would like to:
public const MYDBPATH as string = fGetPath()
access doesn't appear to allow procedure calls in a const declaration
statement.
How would I accomplish what I want?
tia - Bob
I have created a function in my FE that gets the path to the BE using
TD.connect...
what I would LIKE to do, is declare a constant ie: MYDBPATH, that
contains the path extracted from the .connect string.
ie:
fGetPath() returns something like "d:\data\dbdata\mydb-data.mdb"
I would like to:
public const MYDBPATH as string = fGetPath()
access doesn't appear to allow procedure calls in a const declaration
statement.
How would I accomplish what I want?
tia - Bob