Hi
Not sure if this is possible, but I would like to have a recordsource from another database.
I have seen that it is possible with a sql string with the IN function but I cannot get that to work.
I hope somebody here can help.
my code :
strsql = "SELECT * FROM [TBL_Users] IN [;DATABASE=" Currentproject.path & "\DBName.mdb;"
me.recordsource = strsql
It comes up with a syntax error in the FROM clause ?
Is there something else than using a sql string
Not sure if this is possible, but I would like to have a recordsource from another database.
I have seen that it is possible with a sql string with the IN function but I cannot get that to work.
I hope somebody here can help.
my code :
strsql = "SELECT * FROM [TBL_Users] IN [;DATABASE=" Currentproject.path & "\DBName.mdb;"
me.recordsource = strsql
It comes up with a syntax error in the FROM clause ?
Is there something else than using a sql string