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
Backup exec 12.5 issues
Create File from count
hide FormView "delete" and "edit" button links programmatically
SQL 2005 - An expression of non-boolean type specified in a context where a condition is expected, near 'THEN'.
Updating things based on info in a given record
MP3 & 4 burn to audio cd with win 7
Convert LINQ in C# to VB.NET
Import special toolbar from another database
hidden files on server - windows 2003 server
MS Access' ability to be used across a network