D dbalargin Member Local time Today, 00:59 Joined Dec 31, 2002 Messages 39 Jul 25, 2003 #1 How do I open a second database from a procedure in a first?
FoFa Registered User. Local time Yesterday, 23:59 Joined Jan 29, 2003 Messages 3,672 Jul 25, 2003 #2 stAppName = "MSACCESS.EXE T:\CRIBWARE\misc_Stuff\Calibration_Control.mdb" Call Shell(stAppName, 1)
D dbalargin Member Local time Today, 00:59 Joined Dec 31, 2002 Messages 39 Jul 25, 2003 #3 I get an error that reads: The command line you used to start MS Access contains an option that MS Access doesn't recognize. Exit and restart MS Access using valid command-line options. I am using Access 97 if that makes a difference.
I get an error that reads: The command line you used to start MS Access contains an option that MS Access doesn't recognize. Exit and restart MS Access using valid command-line options. I am using Access 97 if that makes a difference.
ghudson Registered User. Local time Today, 00:59 Joined Jun 8, 2002 Messages 6,194 Jul 25, 2003 #4 try... Call Shell("C:\Program Files\Microsoft Office\Office\msaccess.exe C:\Databases\YourDB.mdb", vbMaximizedFocus)
try... Call Shell("C:\Program Files\Microsoft Office\Office\msaccess.exe C:\Databases\YourDB.mdb", vbMaximizedFocus)
FoFa Registered User. Local time Yesterday, 23:59 Joined Jan 29, 2003 Messages 3,672 Jul 25, 2003 #5 Since there are no options on that, not sure what to tell you. Have you tried entering it from a command (DOS) prompt to see what happens?
Since there are no options on that, not sure what to tell you. Have you tried entering it from a command (DOS) prompt to see what happens?
D dbalargin Member Local time Today, 00:59 Joined Dec 31, 2002 Messages 39 Jul 25, 2003 #6 i am getting the same error as before. only the warning box is maximized
FoFa Registered User. Local time Yesterday, 23:59 Joined Jan 29, 2003 Messages 3,672 Jul 25, 2003 #7 COPY and PASTE (not retype) your code
Mile-O Back once again... Local time Today, 05:59 Joined Dec 10, 2002 Messages 11,316 Jul 25, 2003 #8 Click Here
D dbalargin Member Local time Today, 00:59 Joined Dec 31, 2002 Messages 39 Jul 25, 2003 #9 Mile-O-Phile...works like a charm. Thanks!