J
Jim
Hello. My onclick-code for the button is as follows:
Dim stDocName As String
DoCmd.SetWarnings False
If MsgBox("Really delete all?", vbYesNo + vbQuestion, "Really delete
all?") = vbYes Then
DoCmd.OpenQuery stDocName, acNormal, acEdit
End If
stDocName = "qry_radera_alla_fakturor"
DoCmd.OpenQuery stDocName, acNormal, acEdit
stDocName = "qry_radera_alla_kunder"
DoCmd.OpenQuery stDocName, acNormal, acEdit
DoCmd.SetWarnings True
-But when tryin' to run this I get: "the action or method requires a query
name argument". What am I missing??
Dim stDocName As String
DoCmd.SetWarnings False
If MsgBox("Really delete all?", vbYesNo + vbQuestion, "Really delete
all?") = vbYes Then
DoCmd.OpenQuery stDocName, acNormal, acEdit
End If
stDocName = "qry_radera_alla_fakturor"
DoCmd.OpenQuery stDocName, acNormal, acEdit
stDocName = "qry_radera_alla_kunder"
DoCmd.OpenQuery stDocName, acNormal, acEdit
DoCmd.SetWarnings True
-But when tryin' to run this I get: "the action or method requires a query
name argument". What am I missing??