I've been trying to make a button on one of my forms that will link to the query wizard. Here's the code I have:
Dim QueryName As String
QueryName = "frmMain"
Application.Run "acwztool.frui_entry", QueryName, acQuery
Every time I click on the button I get the following message:
"The form name 'frui_frmMain' is misspelled or refers to a form that doesn't exist."
So that sucks. How do I fix it?? I also want to make a report wizard button as soon as I finish the query wizard button, hopefully the same thing doesn't happen, I'll have to maybe work on that button right now instead while I wait for a reply...
Dim QueryName As String
QueryName = "frmMain"
Application.Run "acwztool.frui_entry", QueryName, acQuery
Every time I click on the button I get the following message:
"The form name 'frui_frmMain' is misspelled or refers to a form that doesn't exist."
So that sucks. How do I fix it?? I also want to make a report wizard button as soon as I finish the query wizard button, hopefully the same thing doesn't happen, I'll have to maybe work on that button right now instead while I wait for a reply...