Hi John,
you're welcome ;)
if you are using Access 2007 or above:
go to the design view of the form
turn on the Property sheet if it is not showing (right-click anywhere, choose Properties from the shortcut menu at the bottom)
click on the Date1 control
on the Format tab of the Property sheet, choose what you want for the "Show Date Picker" property
Warm Regards,
Crystal
*
(: have an awesome day :)
*
________________________________
From: yshopper
Subject: [MS_AccessPros] Re: Parameter Query w/Date Picker
Thanks Crystal. That worked fine, but how do I get the date picker on the form? The textbox control on the form is unbound. When I click the command button to run the query, just a plain text box appears w/no date picker.
Thanks,
John
---Crystal <strive4peace> wrote:
>
> Hi John,
>
> it would be best to use a form to collect your parameter. then you can have the date picker as well as control things
>
>
> 1. make a blank form, Name --> f_MainMenu
> 2. make a control to collect the date, Name --> Date1
> 3. make a command button with Click [Event Procedure] --> DoCmd.OpenQuery "MyQueryName"
>
>
> then, in your query, use this for your criteria:
>
> forms!_MainMenu!Date1
>
> I have a date range on my menu form. You may decide to add a second date as well, which is the reason for the "1" on the end of Date1
>
> for a menu form:
> RecordSelectors --> No
> NavigationButtons --> No
> DividingLines --> No
> Warm Regards,
> Crystal
>
> Microsoft MVP
> remote programming and training
>
> Access Basics by Crystal
> http://www.AccessMVP.com/strive4peace
> Free 100-page book that covers essentials in Access
>
> *
> (: have an awesome day :)
> *
>
>
>
>
> ________________________________
> From: yshopper
>
> Is there any way to have a date picker open up when a Parameter query is run? I would like to eliminate any mistakes when entering the date.
>
> Thanks,
> John
>
[Non-text portions of this message have been removed]
Kamis, 26 Januari 2012
Re: [MS_AccessPros] Re: Parameter Query w/Date Picker
__._,_.___
.
__,_._,___
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar