Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old December 19th, 2003, 06:00 PM
Iraq n Baq Iraq n Baq is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Columbia, Missouri
Posts: 34 Iraq n Baq User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 34 m 50 sec
Reputation Power: 5
Send a message via AIM to Iraq n Baq
Dynamic Report

I have a query that displays related data (one to many). I want to create a report that will print only the MANY from a specified ONE (of which there are about 15).

I plan to give this to a couple other end users, so my solution has to be fairly simple; select a ONE and generate a report for printing.

Is there an easy way to tell the report which set of MANY to display without making a separate query/report pair for each ONE?

Be gentle, it's my first time...
__________________
--Slaughter
slaughter@mizzou.edu

Reply With Quote
  #2  
Old December 21st, 2003, 04:17 PM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 12
Turn you query into a parameter query


SELECT TableOne.Field1, tableMany.Field1, tableMany.Field2
FROM TableOneINNER JOIN tableMany ON TableOne.Field1= tableMany.Field1
WHERE (TableOne.Field1=[Enter Selection]);

[Enter Selection] - is the criteria which drives which on the one that will be used

S-

Reply With Quote
  #3  
Old December 22nd, 2003, 04:25 PM
Iraq n Baq Iraq n Baq is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Columbia, Missouri
Posts: 34 Iraq n Baq User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 34 m 50 sec
Reputation Power: 5
Send a message via AIM to Iraq n Baq
of course!

I'm an idiot.

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Dynamic Report


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway