Solved

crystal report's datasource

Posted on 1997-12-14
2
511 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 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

Technology Partners: 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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

691 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