One option might be to use the Shell function to run msaccess.exe with
a command line including /wrkgrp, /user, /pwd, and most notably /x to
run your macro.
-Tom.
>I have two large complex Access 2003 databases where one uses 'GetObject' to
>open the second and then I run a macro within it. This works fine.
[quoted text clipped - 4 lines]
>from the first when secured through a common workgroup? Combining the
>databases into one is not an option.
Graham Masters - 24 Jan 2008 16:48 GMT
Thanks Tom, I've now succesfully got to the database. Would you know by
chance the syntax for the inclusion of the macro run command?
> One option might be to use the Shell function to run msaccess.exe with
> a command line including /wrkgrp, /user, /pwd, and most notably /x to
[quoted text clipped - 10 lines]
> >from the first when secured through a common workgroup? Combining the
> >databases into one is not an option.
Tom van Stiphout - 25 Jan 2008 05:41 GMT
Not sure what you mean. /x <your_macro> will run your macro at startup
time. There is a page about the Access command line in the Help file.
-Tom.
>Thanks Tom, I've now succesfully got to the database. Would you know by
>chance the syntax for the inclusion of the macro run command?
[quoted text clipped - 13 lines]
>> >from the first when secured through a common workgroup? Combining the
>> >databases into one is not an option.
Graham Masters - 25 Jan 2008 10:25 GMT
Thanks Tom, very helpful - problem now solved.
> Not sure what you mean. /x <your_macro> will run your macro at startup
> time. There is a page about the Access command line in the Help file.
[quoted text clipped - 18 lines]
> >> >from the first when secured through a common workgroup? Combining the
> >> >databases into one is not an option.