Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Auto export and print crystal report within access

Posted on 2010-11-09
10
Medium Priority
?
547 Views
Last Modified: 2012-05-10
At present we use an Access 2003 report to print a drivers Load Sheet, when the "Print Load Sheet" button is clicked on a form a macro runs which prints the Load Sheet report, then runs a few queries to flag it as printed (puts a tick in a field named "Printed" on a local access table) and then mails the Load Sheet details to the courier.

Ideally we need to replicate this behaviour but using a crystal report instead of access report. The back-end database has changed and re-writing the access report has proved to be impractical.

We are using Access 2003 and Crystal 2008 (for SAP Business One).

Would really appreciate any help on this, I have managed to get a crystal report version of the Load Sheet report to open from access by using the FollowHyperLink method but obviously this only opens the report.

If I could somehow open the report and automatically print and then save it then this would be ideal but I understand that this may not be possible. any help appreciated
0
Comment
Question by:kevin1983
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
  • 2
  • +1
10 Comments
 
LVL 85

Assisted Solution

by:Scott McDaniel (Microsoft Access MVP - EE MVE )
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 664 total points
ID: 34093553
In most cases, you use an activex control to manage this. You drop the control on the Access form, and use that form to manage your CR actions. However, I'm not sure that CR 2008 ships with a COM control (I'm pretty sure it doesn't), so you're left with building an external utility to manage this. You could use one of the .NET languages to do this, then call that utility from Access.
0
 

Author Comment

by:kevin1983
ID: 34093649
ok that sounds likely to be to complex for what we will be able to do ourselves, and we are not .NET programmers.

The other option I thought might be possible was if the user manaully exports the report from crystal but if crystal reports is able to set a flag within an access table that would be good if possible?
0
 
LVL 23

Accepted Solution

by:
Ido Millet earned 668 total points
ID: 34093783
Consider a Crystal Reports Desktop Scheduling tool (for a list of such tools, see http://www.kenhamady.com/bookmarks.html) as a solution.  At least one of these tools allows you to trigger (via a Shell() function call from MS Access vba code) and pass parameters to a process of running a Crystal report, exporting, emailing, etc.
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 

Author Comment

by:kevin1983
ID: 34094032
ok, thanks im having a look on that weblink
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 34095996
I agree.

You will need to use an application to call the reports.  As stated bove there is no .COM supprt in CR2008.  You will need to build a .net application that does the print and update or use a third-party tool.

You might also consider "downgrading" to CR XI R2.  It can be called from an Access application.

mlmcc
0
 

Author Comment

by:kevin1983
ID: 34098103
ok, is there a particular third party application anyone would recommend ?, (ideally free app)

IdoMillet: have you tired any on the programmes on the link you provided?-im not sure which one to try out.


sounds like downgrading to CR XI R2. could be an option if we are able source and to get hold of a license to use that version.
0
 
LVL 23

Expert Comment

by:Ido Millet
ID: 34103330
Sorry, forum rules don't allow me to name the specific software package.
0
 

Author Comment

by:kevin1983
ID: 34103520
Really those are the rules?, thats strange- could you suggest a couple to try instead if possible?
0
 
LVL 101

Assisted Solution

by:mlmcc
mlmcc earned 668 total points
ID: 34105614
Ido wrote several of the applications being recommended.  Since he sells them he is not allowed to recommend them directly since there is a rule against advertising.

here is the link to his site
http://www.milletsoftware.com/index.htm

mlmcc
0
 

Author Closing Comment

by:kevin1983
ID: 34110495
Thanks all experts for your help.

ill try out a few third party tools-looks like one of them will do the trick.

0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question