Hello Jason,
I understand that you'd like to use parameter query and use form code to
feed the parameters. If I'm off-base, please let me know.
You could use QueryDefs to the query and feed the parameter and run it from
code. Please see the following link for details:
http://www.mvps.org/access/queries/qry0013.htm
Also, you could use following to run query directly by code:
currentdb.Execute
or
docmd.Runsql
More related information:
Using parameters with queries and reports
http://office.microsoft.com/en-us/access/HA011170771033.aspx
If you have further questions or concerns, please feel free to let's know.
Thank you.
Best Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
Please note that the newsgroups are staffed weekdays with a goal to provide
ONE BUSINESS DAY RESPONSE to all posts.
If this response time does not meet your needs, please contact CSS for more
immediate assistance:
http://support.microsoft.com/default.aspx?scid=fh;EN-US;OfferProPhone#faq607