Cannot run access report from c#
Posted on 2007-04-04
I am trying to preview an Access report using C# 2003. I have this code which runs, but it doesn't do anything. What am I missing?
The overall goal is to get the report to open, then print to PDF using the acrobat driver save and close.
So far the code is opening the databse (non displayable) but does nothing else from what I can see.
Access.Application oAccess = null;
oAccess = new Access.ApplicationClass();
// Open a database in exclusive mode: