Solved

Crystal Reports

Posted on 1998-11-11
3
174 Views
Last Modified: 2010-04-30
If have to select information from two different tables,to display the information on crystal rep.
For the first part of the report I run a querydef from visual basic to display the information for the query, then for the second part of the report I inserted database fields directly on the report.

Here is the problem, when run only the querydef from visual basic it displays the information for the first part of the report, but once I insert the databasefields on the report it somehow cancels the querydef and only displays the second part of the information for the diretcly linked databasefields in crystalreports.
0
Comment
Question by:gerhd
  • 2
3 Comments
 

Author Comment

by:gerhd
ID: 1444317
The problem is diplaying values in one crystalreport for a querydef ran in visual basic and  directly linked databasefields in crystalreports. I use an MS Access database and the querydef I call is a query written in Access. I also set different parameters in the querydef.
0
 

Author Comment

by:gerhd
ID: 1444318
Adjusted points to 150
0
 

Accepted Solution

by:
rscott_young earned 150 total points
ID: 1444319
Here are a couple of ideas:

1)  Is there a logical link between the two tables?  If so, then you could link the tables, pass just the one SQL query to Crystal, and display the fields accordingly.

2)  You could create a sub-report in Crystal to display the second set of data below the first.

Hope this helps!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…

792 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