Solved

crystal report's datasource

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…

744 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

12 Experts available now in Live!

Get 1:1 Help Now