A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

how to select certain records in a report.



 
 
Thread Tools Display Modes
  #1  
Old December 10th, 2009, 03:56 PM posted to microsoft.public.access.reports
Thanks, Buddy[_2_]
external usenet poster
 
Posts: 10
Default how to select certain records in a report.

Hi, I want to run a report - but I only want to select certain dates (I have
a date field). Like, maybe, I want to run a report based on sales from Dec 8
- 12, 2009, for example. I'm not quite sure how to go about it.

thanks!
  #2  
Old December 10th, 2009, 04:11 PM posted to microsoft.public.access.reports
Steve[_77_]
external usenet poster
 
Posts: 1,017
Default how to select certain records in a report.

You are probably opening your report with a commqnd button on a form so add
two unbound textboxes on the form named StartDate and EndDate, Then make the
recordsource of the form a query that contains the date field. Set the
criteria of the date field to:
Between Forms!NameOfYourForm!StartDate And Forms!NameOfYourForm!EndDate

Note - your form must be open when you open the report.

Steve




"Thanks, Buddy" wrote in message
...
Hi, I want to run a report - but I only want to select certain dates (I
have
a date field). Like, maybe, I want to run a report based on sales from
Dec 8
- 12, 2009, for example. I'm not quite sure how to go about it.

thanks!



 




Thread Tools
Display Modes

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 Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:36 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.