Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report based on two tables

Status
Not open for further replies.

OOzy

Programmer
Jul 24, 2000
135
SA
Dears


I have the following tbl2 and tbl2

Tbl1

EMPID, SALARY
1, 1000
2, 4000
3, 3000

Tbl2

EMPID, DEPENDENT
1, Joe
1, Mike
2, Larry
2, James
2, Loe
2, Lisa
3, Jeff
3, Ann

I would like to print a report like


1, 1000, Joe, Mike
2, 4000, Larry, James, Loe, Lisa
3, 3000, Jeff, Ann

How can I do this? I have posted this Access/VBA but did not get the answer I am looking for. Can anyone help?

 
I also have the function here at faq701-4233.

Duane
MS Access MVP
Find out how to get great answers faq219-2884.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top