Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old November 13th, 2005, 12:58 AM
rudy
Guest
 
Posts: n/a
Default calendars in reports

Is there a way to use a calendar to select the range of dates needed
in a report. I have been able to display a calendar in a form but
would much rather use a selection method than having to type the
dates.

thanks,
Rudy
  #2  
Old November 13th, 2005, 12:58 AM
PC Datasheet
Guest
 
Posts: n/a
Default Re: calendars in reports

Rudy,

Use a pop-up form that has a calendar and two textboxes on it. Name the first
textbox StartDate and the second textbox EndDate.

Put the following code in the Calendar's OnClick event:
If IsNull(Me!StartDate) Then
Me!StartDate = Me!NameOfCalendar.Value
Else
Me!EndDate = Me!NameOfCalendar.Value
End If

The first date selected on the calendar will fill StartDate ane the second date
selected will fill EndDate.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
resource@pcdatasheet.com
www.pcdatasheet.com


"rudy" <rcastro4@satx.rr.com> wrote in message
news:8bed18f5.0406180900.2d5df479@posting.google.c om...[color=blue]
> Is there a way to use a calendar to select the range of dates needed
> in a report. I have been able to display a calendar in a form but
> would much rather use a selection method than having to type the
> dates.
>
> thanks,
> Rudy[/color]


 

Bookmarks

Thread Tools

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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles