Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8627

Print a Crystal Reports file from Access front-end using VBA

$
0
0

I need advice for printing a Crystal Reports file in a Microsoft Access front-end application using VBA since I am new with CR.

 

I'm using Crystal Reports Developer 2008 (version 12.5) and MS Access 2010 in a 32 bit environment. The Access front-end is distributed to about 30 Windows 7 and XP users running Access runtime version. I have successfully printed the file from Access in the computer where the CR Developer's edition is installed, but not so successful in printing the same file from the Access front-end users' computers.

 

The error I am getting from Access when trying to print the CR is "Error 5 - Invalid Procedure call or argument". This is usually related to a missing reference in MS Access. So there is something missing in the compiled front-end that is present in the CR Developer's computer. I also realized that even though all the front-end computers have installed Crystal Reports runtime, CR file format is not recognized and cannot be printed in those computers (as I said, I am new with CR).

 

Today I installed CR viewer in the CR developer's computer, but I could not install the Activex references to print within Access using VBA. Latter on I found this link in this online community: Crystal Reports 2011 and Ms Access 2010

 

I would really appreciate if someone can point me in the right direction in how to print a CR file from a front-end 2010 Access runtime using VBA.

 

Thanks in advance for your help,

Max


Viewing all articles
Browse latest Browse all 8627

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>