how to remove logon information which is applied to crystal report after prining the report

  • Thread starter Thread starter Venkatesha R
  • Start date Start date
V

Venkatesha R

Hi All,
Iam creating the report object then applying the logon information to the
database which the report uses then printing it in printer and finally
disposing the report object . after this iam trying to compress the database
which is used by the report object. but the program says "couldnot open the
database. it is exclusively opened by the user" .please give me some
solution for this.
here is my printing report code.
LBL003 objRptLBL003 = new LBL003();

setLogoOnInformation(objRptLBL003);

objRptLBL003.PrintOptions.PrinterName = "";

objRptLBL003.PrintToPrinter(_intPrintCopies,false,1,1); // if i comment
this line my compress database program works otherwise not

objRptLBL003.Dispose();



thanks,

Venkatesha R
 
Access does not use Crystal Reports as a reporting tool, mainly because it's
own reporting tool is infinitely better. You might get better help through a
Crystal group such as: microsoft.public.vb.crystal
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access Downloads
http://www.datastrat.com
http://www.mvps.org/access
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top