B
Byzantine
Hallo there
I'm trying to run a select query which looks at data in another MS Access
2003 database using the 'Source Database' query property to specify the file
name and path.
If I simply type in the following path and file name of the source database
the query works fine:
C:\Program Files\My_Database.mdb
However when I try to build the file name and path using a function MS
Access returns an error stating that the file name is not recognised. The
file name and path string is stored in a field called 'FileNameAndPath' in a
table called 'tbl Configuration' within the remote database. I am trying to
enter the following function in to the 'Source Database' query property and
it doesn't work:
DFirst("[FileNameAndPath]","tbl Configuration")
Has anyone got any ideas why this doesn't work? Can this be done?
If not, is there any other way of building the source database file name and
path, other than using the linked tables facility?
Any help is much appreciated.
Regards
I'm trying to run a select query which looks at data in another MS Access
2003 database using the 'Source Database' query property to specify the file
name and path.
If I simply type in the following path and file name of the source database
the query works fine:
C:\Program Files\My_Database.mdb
However when I try to build the file name and path using a function MS
Access returns an error stating that the file name is not recognised. The
file name and path string is stored in a field called 'FileNameAndPath' in a
table called 'tbl Configuration' within the remote database. I am trying to
enter the following function in to the 'Source Database' query property and
it doesn't work:
DFirst("[FileNameAndPath]","tbl Configuration")
Has anyone got any ideas why this doesn't work? Can this be done?
If not, is there any other way of building the source database file name and
path, other than using the linked tables facility?
Any help is much appreciated.
Regards