Solved

crystal report's datasource

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

Independent Software Vendors: 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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

738 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