DanG
Registered User.
- Local time
- Today, 04:51
- Joined
- Nov 4, 2004
- Messages
- 477
I have the following on a button...
Shell ("Q:\APPS\Microsoft Office\OFFICE11\MSACCESS.EXE X:\NWRBugetDB\2006Budget\BudgetDatabase.mdb",vbMaximizedFocus).
And get the following error message:
"Compile error Syntax error"
Wheh I take the "vbMaximizedFocus" out of it, it works fine. I have seen the same code with a 1,2,3...instead of "vbMaximizedFocus" but that does not work either (The MS Access help says to use 1,2,3..but when entering the code I get the "vbMaximizedFocus" and other similar choices in a dropdown menu)
Very confusing. In the end I wand the database open "Maximized".
Any help would be great.
Thank you
Shell ("Q:\APPS\Microsoft Office\OFFICE11\MSACCESS.EXE X:\NWRBugetDB\2006Budget\BudgetDatabase.mdb",vbMaximizedFocus).
And get the following error message:
"Compile error Syntax error"
Wheh I take the "vbMaximizedFocus" out of it, it works fine. I have seen the same code with a 1,2,3...instead of "vbMaximizedFocus" but that does not work either (The MS Access help says to use 1,2,3..but when entering the code I get the "vbMaximizedFocus" and other similar choices in a dropdown menu)
Very confusing. In the end I wand the database open "Maximized".
Any help would be great.
Thank you