Microsoft
Software
Hardware
Network
Question : Run Queries Based on Form Values
Hi Experts,
So i Have a form (frmMain) that runs via AutoExec. This form has 2 unbound text boxes (txtStartDate, txtEndDate) and a button (cmdExecute). I want to be able to enter my start and end date in this form then press the button to run an some append queries based on the dates in the box. Can someone tell me how this is achieved via Macro or VBA? The query already has the parameters [Starting Date] & [Ending Date] and it asks for the dates when the query is opened but i want to be able to run them all without having to enter the dates each time. Is there something that needs to be changed in the queries as well?
Thanks as always,
Answer : Run Queries Based on Form Values
See my Accepted Solution here:
http://www.experts-exchang
e.com/Micr
osoft/Deve
lopment/
MS
_Access/Q_
24990344.h
tml
same exact thing ...
mx
Random Solutions
Deriving Month from Text
Get ListViewItem Checked state by Index in VB .NET
Option Button array
Can't load web pages in IE java script errors
Excel Exception from HRESULT Error
Printing to a specific printer
windows server 2008
Query by time range not date. ie 7:00a - 2:59a
Hide the max, min and close buttons on a MDI Form
Stupidly activated "Log on using dial-up connection' and cant log in because i dont even have a dial-up connection