
Originally Posted by
RuralGuy
Is this form *in* the "English Biscuits.mdb"? There is no reason for this code if it is. What do you mean "I have a link manager button which basically link all tables to the front end."
It suppose to run a query because it is Docmd.OpenQuery
I just mentioned the link thing for kind of no reason just to mention here that if my db location is changed so i just link the application to it.
Code:
Private Sub Command19_Click()
On Error GoTo Err_Command19_Click
Dim stDocName As String
stDocName = "Macro1"
DoCmd.RunMacro stDocName
Exit_Command19_Click:
Exit Sub
Err_Command19_Click:
MsgBox Err.Description
Resume Exit_Command19_Click
End Sub
Also i am running Access on Vista. Please help