Solved

crystal report's datasource

Posted on 1997-12-14
2
505 Views
Last Modified: 2010-05-18
When I designed a crystal report report, I have to pick which table contains the datafields that I want on the report.  If I have a recordset with the same datafields that was returned from an Access Query, how can I pass that along to Crystal Report without it using a default style for printing.  If I pass a recordset's data to Crystal, it prints, but not with the formating and labels that I put in place.  can somebody help me with it?

Mike
0
Comment
Question by:i0e192
2 Comments
 
LVL 2

Expert Comment

by:PedroMVGomes
ID: 1445198
Can you be more expecific?
0
 

Accepted Solution

by:
hemmeter earned 50 total points
ID: 1445199
You have 2 options:

1.)  Use Crystal Query and recreate your query and use the datafields off of that.  Select New Report and then Standard Report.  Choose to use Crystal Query and it will come up with a query tool like MS Query.  When you create the query, send it to Crystal using the Send to Crystal command and whammo!!! you're in business.  Change any labels and such on the report.

2.)  If you are running the report from an application where you can code an Insert statement then create a temporary table in your database.  You can have the table there permanently or create it before you run the report using the CREATE TABLE statement.  Once the table is created, create an INSERT INTO tablename SELECT .... FROM... WHERE.  Then in Crystal, create a report that points to the temporary table that holds the information you just inserted.  Go to Database...Set Location to do this.  Hope this helped.

If I am totally on the wrong track then send a comment back being a bit more specific about the problem.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now