I have a really annoying issue that I'm having which has worked perfectly well historically in other Access dbs.
I have, as a test, a form with a button. The click event button is to run a simple query, this is the VBA:
Private Sub Command0_Click()
DoCmd.SetWarnings False
DoCmd.OpenQuery "mktbl_qry_Useable_Leads", acViewNormal, acEdit
DoCmd.SetWarnings True
End Sub
Very simple and straight forward, however, I constantly get the Macros pop up list asking me to select a sub routine.
Is there a reason for this? I have tried other queries with the same result and also another blank form with the same issue. Its driving me insane.
Help is much appreciated.
db.Execute
would not? Apologies to the OP for the sidebar. Btw, have you tried a compact & repair? - GavinP