G
Guest
I want to be able to open other databases used by the company from the front
end of the database I have created. I have done it for 3 of the 4 databases
but the last one has a space in its name i.e. Contact Numbers.mdb.
When I try to run it I get an error message saying : " The command line you
used to start Microsoft Access contains an option that Microsoft Access
doesn't recognise" I have tried putting an underscore in (_) but that doesn't
work either.
Here is the code I use :
stAppName = "msaccess.exe \\server\databases\Contact Numbers.mdb"
Call Shell(stAppName, 1)
Is there a way around this problem?
Many thanks in advance for any suggestions.
end of the database I have created. I have done it for 3 of the 4 databases
but the last one has a space in its name i.e. Contact Numbers.mdb.
When I try to run it I get an error message saying : " The command line you
used to start Microsoft Access contains an option that Microsoft Access
doesn't recognise" I have tried putting an underscore in (_) but that doesn't
work either.
Here is the code I use :
stAppName = "msaccess.exe \\server\databases\Contact Numbers.mdb"
Call Shell(stAppName, 1)
Is there a way around this problem?
Many thanks in advance for any suggestions.