Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more

x
?
Solved

crystal report's datasource

Posted on 1997-12-14
2
Medium Priority
?
513 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
[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
2 Comments
 
LVL 2

Expert Comment

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

Accepted Solution

by:
hemmeter earned 100 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

647 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