Can't run report wizard from code

J

Jim

I have an Access 2003 Project (.adp file). In code, I'm trying to start
the Report Wizard using the table Sheetdetail. I have tried two
approaches:

acwztool.frui_Entry "Sheetdetail", acReport

and

Application.Run "acwztool.frui_entry", "Sheetdetail", acReport

each causes a Microsoft Office Access popup window that says

"The form name 'frui_frmMain' is misspelled of refers to a form that
doesn't exist."

If I create a form with this name, it comes up, but it's not the wizard
I'm looking for. I can run the Report Wizard interactively from Access.
In the Visual Basic Project Explorer I see acwztool with many
components in it. In the first approach, Visual Basic provides smart
prompts.

How can I get the Report Wizard to run from code?

Thanks,

Jim

Jim Puls
Sentinel Technologies
[email protected]
 
Top