ttbeverley
Registered User.
- Local time
- Today, 22:50
- Joined
- Jan 14, 2009
- Messages
- 15
Gday Guys,
I have an issue, well i have lots, but only the one im dealing with right now.
I have an access database that i have made with a form containing buttons, i would like these buttons to be able to link to other databases (external) using VB code, what i used to use was:
Private Sub ear_Click()
On Error GoTo Err_ear_Click
Dim x As Integer
Dim AppName As String
AppName = "C:\Program Files\Microsoft Office 2003\OFFICE11\Msaccess.exe \\serveraddress\database.mdb"
x = Shell(AppName, 1)
Exit_ear_Click:
Exit Sub
Err_ear_Click:
MsgBox Err.Description
Resume Exit_ear_Click
End Sub
This worked fine in office 2000 and prior, but have recently been forced to update to 2003 as the minimum, so these buttons have stopped working properly.
The other issue i have is that the reference to the installed office (msaccess.exe file), i would like to remove this reference completely, so as its not linked in the same manner due to the difference in files needed between pcs on the network.....
If you have any idea of somethign i can try, your help will be greatly appreciated.
Thanks for your help.
I have an issue, well i have lots, but only the one im dealing with right now.
I have an access database that i have made with a form containing buttons, i would like these buttons to be able to link to other databases (external) using VB code, what i used to use was:
Private Sub ear_Click()
On Error GoTo Err_ear_Click
Dim x As Integer
Dim AppName As String
AppName = "C:\Program Files\Microsoft Office 2003\OFFICE11\Msaccess.exe \\serveraddress\database.mdb"
x = Shell(AppName, 1)
Exit_ear_Click:
Exit Sub
Err_ear_Click:
MsgBox Err.Description
Resume Exit_ear_Click
End Sub
This worked fine in office 2000 and prior, but have recently been forced to update to 2003 as the minimum, so these buttons have stopped working properly.
The other issue i have is that the reference to the installed office (msaccess.exe file), i would like to remove this reference completely, so as its not linked in the same manner due to the difference in files needed between pcs on the network.....
If you have any idea of somethign i can try, your help will be greatly appreciated.
Thanks for your help.