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 / Macros / July 2004

Tip: Looking for answers? Try searching our database.

Date help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John - 29 Jul 2004 15:57 GMT
I am making a macro to take things from 4 different tables
and I want them to pull all of the same dates. In the
queries I have conditions and those work, the only problem
is when someone runs the macro you have to type the date
in 4 times. Is there a way that I can make it so that I
can type the date in once and it will carry through all
the queries in the macro?
Thanks in advance,
JOHN
tina - 29 Jul 2004 17:54 GMT
you can put a textbox on a form, we'll call it txtDate, and set the criteria
of each query to point to that control, as

Forms!MyFormName!txtDate

suggest you set the textbox's InputMask to a date format, to help ensure
valid entries by the user.

hth

> I am making a macro to take things from 4 different tables
> and I want them to pull all of the same dates. In the
[quoted text clipped - 5 lines]
> Thanks in advance,
> JOHN
 
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.