A
Andrew Carlson
I need to create a .net application that will allow the user to point to an
access .mdb file, consume a list of reports within that file, allow the user
to select one or more of those reports, pass the user's name, the user's
selected date, and perhaps other values to the reports, and print the number
of reports requested.
Thus far, I have found excellent samples and documentation on how to hook
into the mdb file however it is limited to a simple "Print the report that is
named at design time". I have had extreme difficulty in finding either books
or resources that give me more detail on passing variables to a report.
Two problems I have encountered thus far is with consuming a list of reports
in the reports collection of the file. Running this query "SELECT
MSysObjects.Name FROM MSysObjects " returns an error 'No Read permission on
MSysObjects'. Selecting the database in access and specifically setting read
permissions on all system tables does not fix the issue and no workgroup
information file has ever been used on this network.
The other problem I have had is not being able to get the list of report
names from a collection through ADO commands or DAO commands.
I am using .net framework 1.1, Visual Studio .NET 2003 Enterprise, Access
2003, and I am referencing Microsoft.Office.Core, Access, ADODB, DAO in COM.
I have imported Microsoft.Office.Core to the form class.
I could really use some direction to some documentation or books that will
help me overcome these challenges. Also, if I have left something out please
let me know. I have done a lot of .net programming, however, my Office
Automation and VBA are pretty limited. Mostly, limited to Excel Automation.
Thanks you for considering this request.
access .mdb file, consume a list of reports within that file, allow the user
to select one or more of those reports, pass the user's name, the user's
selected date, and perhaps other values to the reports, and print the number
of reports requested.
Thus far, I have found excellent samples and documentation on how to hook
into the mdb file however it is limited to a simple "Print the report that is
named at design time". I have had extreme difficulty in finding either books
or resources that give me more detail on passing variables to a report.
Two problems I have encountered thus far is with consuming a list of reports
in the reports collection of the file. Running this query "SELECT
MSysObjects.Name FROM MSysObjects " returns an error 'No Read permission on
MSysObjects'. Selecting the database in access and specifically setting read
permissions on all system tables does not fix the issue and no workgroup
information file has ever been used on this network.
The other problem I have had is not being able to get the list of report
names from a collection through ADO commands or DAO commands.
I am using .net framework 1.1, Visual Studio .NET 2003 Enterprise, Access
2003, and I am referencing Microsoft.Office.Core, Access, ADODB, DAO in COM.
I have imported Microsoft.Office.Core to the form class.
I could really use some direction to some documentation or books that will
help me overcome these challenges. Also, if I have left something out please
let me know. I have done a lot of .net programming, however, my Office
Automation and VBA are pretty limited. Mostly, limited to Excel Automation.
Thanks you for considering this request.