473,397 Members | 2,028 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Create a Report From Two Tables

7
I have two tables, Members Table and Dependents Table. Now on the report; I want the members details to be displayed along the first row and if this member has dependents(Spouse and children) their details are to be displayed on the other rows consecutively under the members details and so forth.

I tried building union queries but got lost in the midst of it. If there is an easy or less complicated method please advise.

Joba.
Nov 27 '07 #1
3 1404
Rabbit
12,516 Expert Mod 8TB
Assuming they're linked on some sort of MemberID, on the report just group by the MemberID and include a group header for MemberID.
Nov 27 '07 #2
joba
7
Yes, the two tables are linked by the MemberID which exists on the two table. Its is also the primary key of the Members Table. However on the Dependents table, I named it the "DependentID" which specifies that the child is a dependent of the member with the same corresponding ID.

Anyway how do I group these fields in the report?

Any help will be greatly appreciated and thankyou for your responds.

JP
Nov 27 '07 #3
Rabbit
12,516 Expert Mod 8TB
View > Sorting and Grouping.
Nov 27 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Phin | last post by:
I need your HELP! I've seen all the posts on using Crystal Reports within vs.net (vb.net) and changing a SQL query at runtime. When I tried to pass in a dataset into the crystal report at...
5
by: Sean Byrne | last post by:
We have a Microsoft Access 2000 database consisting of 20 tables covering 20 different events. In each table, there are 3 Team members, a date of the event and several unique fields for the event,...
1
by: JohnM | last post by:
Hi, I am trying to roduce a database for teachers to write comments about the work students have done, and both print them on labels and store them. I start with a table containing students...
2
by: Serge Fournier | last post by:
Hello everyone. How to give the connexion information to a crystal report at run time ? same question concerning the SQL string for data extraction ? Is it "a must" to disconnect the report at...
1
by: smcdonald | last post by:
I am trying to avoid linking external tables using DSN ODBC's on clients. I have 2 foxpro tables in 2 different locations that I need to pull data from. I need to code the connections to them using...
4
by: Gari | last post by:
Hello, I have turned around this problem but because of my little knowledge of Access, I did not find any solution. So I am posting once again my request in the forum (that really helped me so...
3
by: =?Utf-8?B?ZHJhYmVl?= | last post by:
Greetings: Please This is the first time i'm using crystal report i'm passing Parameters like code belowe but what i'm getting alwayes just the last record pleeeeeeeeeeeeeeeease any help ...
3
by: creative1 | last post by:
Here is how you create a complex data report that involves parent and child commands and you can update information at runtime. Its pretty straight forward to work with simple queries; however,...
0
by: =?Utf-8?B?U2hhcm9u?= | last post by:
Hello Gurus, I need to create a Microsoft Visual Studio 2005 report at runtime. I wrote a C# window application, that holds a DataSet and several DataGridView controls. Each of the...
15
by: lxyone | last post by:
Using a flat file containing table names, fields, values whats the best way of creating html pages? I want control over the html pages ie 1. layout 2. what data to show 3. what controls to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.