Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linking buttons to wizards

Status
Not open for further replies.

wagnj1

Programmer
Joined
Jul 21, 2003
Messages
154
Location
CA
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...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top