DateTime picker as input

mfaisal.ce

Member
Local time
Tomorrow, 00:00
Joined
Dec 21, 2020
Messages
76
Dears,

I want the user to input date by datetime picker .... kindly guide me how i can do that,

example

input("Enter Date Here")

When i use the above code, prompt comes for getting the value but i need datetime picker, like a normal textbox in runtime mode...

regards,
 
You can use a popup calendar.
 
there is already a built-in datepicker in access.
 
this is code, how i can use

DoCmd.OpenReport ReportName:="RPTSheet_Daily", View:=acViewPreview, wherecondition:="[Dated]=#" & Format(InputBox("Enter Date"), "yyyy-mm-dd") & "#"

Where i can use datetime picker......
 
If you want a separate pop-up form which operates as a datepicker, have a look at my web site here where I provide a free and paid for version, pays your money and takes your choice... Something like that!

Nifty Date Picker

 
 
yes, you can use form in the Open event of your report.
on the demo, open the report.
 

Attachments

Is there some reason you can't use a control on a form? We can't tell by the context of the question what you are trying to do. For example, if you are running a report, add a control to the form to capture the date. In the click event of the run report button, make sure the control contains a date, then run the report or set focus to the control and prompt the user to try again.
 

Users who are viewing this thread

Back
Top Bottom