flaviooooo
Programmer
Sorry for the weird topic, but I have the following problem.
We work with 2 different versions MS Access through each other (not good, I know)
Now we would like to trigger a form in an Access 97-database, from a Access 2003-db.
I have done a similar action between 2 97-databases with the following code:
Unfortunately, when I try to use this code between 2 different versions, it always tries to open the 97 with the Access 2003 and convert the 97-database.
Does anyone have an idea on how to achieve this??
Thanks in advance
We work with 2 different versions MS Access through each other (not good, I know)
Now we would like to trigger a form in an Access 97-database, from a Access 2003-db.
I have done a similar action between 2 97-databases with the following code:
Code:
txtFilename = "T:\Bedruk 97.mdb"
Set acApp = CreateObject("Access.Application")
acApp.OpenCurrentDatabase txtFilename
acApp.Visible = True
acApp.DoCmd.RunCommand acCmdAppMaximize
acApp.DoCmd.OpenForm "F_DRUKCODE", , , "[DRUKCODE]='1'"
Unfortunately, when I try to use this code between 2 different versions, it always tries to open the 97 with the Access 2003 and convert the 97-database.
Does anyone have an idea on how to achieve this??
Thanks in advance