I am currently using Access to print reports from a Java app. I use the command line command to open Access and run a macro that runs some VBA code that prints the report and then close Access. This works great except that I can not pass any custom arguments to Access.
I am looking for a way to write a small vb? or vba? app that I can pass arguments to and print the reports from within this vb/vba app. I am familliar with the Access object and how to print the report once I have the arguments. This is how I see the command line working:
vbApp.exe dbPath reportName whereClause printerName
I do not need any kind of GUI. I am currently running Access as the Sytem user in the background.
Can someone point me in the right direction or give me some suggestions?
Thanks,
Warren
I am looking for a way to write a small vb? or vba? app that I can pass arguments to and print the reports from within this vb/vba app. I am familliar with the Access object and how to print the report once I have the arguments. This is how I see the command line working:
vbApp.exe dbPath reportName whereClause printerName
I do not need any kind of GUI. I am currently running Access as the Sytem user in the background.
Can someone point me in the right direction or give me some suggestions?
Thanks,
Warren