Solved

Crystal Reports

Posted on 1998-11-11
3
179 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
[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
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
Suggested Courses
Course of the Month5 days, 17 hours left to enroll

626 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