Problem running Access Wizards from VB code
Posted on 2003-03-27
I have just finished writing an Access 2000 based database, a portion of this database enables users to seamlessly access the Report and Query wizards (inbuilt) by calling the query using the following line of code -
Application.Run "acwztool.frui_entry", "tablename", acQuery
Application.Run "acwztool.frui_entry", "tablename", acReport
This works fine the database is run using Access 2000, however when the database is run on Access XP the following error occurs:
The form 'frui_frmMain' is misspelled or refers to a form that does'nt exist.
Can someone please let me know what the differences in the procedure call argument, or a suitable workaround so I can resolve this problem without having to resort to writing my own wizards.
Thanks in advance.