AllExperts > Using MS Access 
Search      
Using MS Access
Volunteer
Answers to thousands of questions
 Home · More Using MS Access Questions · Answer Library  · Encyclopedia ·
More Using MS Access Answers
Question Library

Ask a question about Using MS Access
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Rob Henderson
Expertise
I can answer most MS Access design questions. I also welcome questions on database design and implementation and VBA programming questions. I also have expierence in application design for all the Office components (Excel, Outlook, etc).

 
   

You are here:  Experts > Computing/Technology > Business Software > Using MS Access > reports

Using MS Access - reports


Expert: Rob Henderson - 6/10/2004

Question
hi,
i want to construct a report by using queries. example, in my form i have let the user to choose the period = 1. then i want the system to generate report by looking at the query which will extract only the period = 1 from the underlying database. so therefore i want the report to only have data where period = 1. how do i go about doing this? i hope u ccan help me. thank u very much SIR!

SUDHA  

Answer
Hi

You could do this two ways.

Using VBA to manipulate a query def or set a parameter in the criteria row.

I.e.

In the criteria row of your query put...

[Enter number]

When the query executes it will prompt the user for a value. Then the query will return the records that meet the value criteria.

Beware.

This is not an ideal way to handle this as the user may not enter anything or something it is not expecting like  text.

HTH

Rob

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.