Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 4729

Using Access Form Control as SQL Function criteria

$
0
0
I have a combo box named [myControl] on an Access form that I can use to select/enter a site name (ABC).  There is a button on the same form that runs a report.  The underlying record source for the report is a SQL Function.  Is there an easy way to pass the combo box value to the SQL Function so that only records for site 'ABC' are displayed in the report?  I tried Forms![myForm]![myControl] in the criteria box of the Function and it did not work.  THANKS!

Viewing all articles
Browse latest Browse all 4729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>