Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 1 / January 2007

Tip: Looking for answers? Try searching our database.

Default Entry for a query

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Haas C - 16 Jan 2007 20:53 GMT
Hey all,

I created a Query which asks the user for an "As Of Date" which would
then display relevant data. Is there anyway to put in a default of
today's date in the input box and allow the user to change it to
whatever they want? Please let me know if this needs further
clarification. Thanks for all your help in advance.
chrisdavis - 16 Jan 2007 21:15 GMT
Hello..You can use the function called "now()" in the default value of
the text box and it will be today's date..you can go a step further and
use the format command:  format([date],"mm/dd/yyyy" if you want or
whatever format you need.

HTH
> Hey all,
>
[quoted text clipped - 3 lines]
> whatever they want? Please let me know if this needs further
> clarification. Thanks for all your help in advance.
Haas C - 16 Jan 2007 23:36 GMT
Chris,

Thanks for replying to my post. However, I am a newbie when it comes to
this so can you tell me how to do what you've written below? I am using
the Design View for the Query and under the Date field, I have the
following entered in the Criteria row:   <[Please enter As of Date]

Where can I find the default value of the text box?

Thanks in advance.

> Hello..You can use the function called "now()" in the default value of
> the text box and it will be today's date..you can go a step further and
[quoted text clipped - 9 lines]
> > whatever they want? Please let me know if this needs further
> > clarification. Thanks for all your help in advance.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.