How do u specify the criteria value in a query to be read from a combo list on a form. I want to use the value in a combo box on a form to limit the results of a query.<br>
<br>
If possible, an example of how to write the expression in a FoxPro query would be helpful.<br>
<br>
For example in Access, the way I would do this is:<br>
<br>
In the criteria part in an Access query, you would enter the location of the combo box as an expression ie. <br>
<br>
[Forms]![frmReporting]![Combo box name]<br>
<br>
therefore when the query is run, the value selected on the combo box will be used to limit the records.<br>
<br>
If possible, an example of how to write the expression in a FoxPro query would be helpful.<br>
<br>
For example in Access, the way I would do this is:<br>
<br>
In the criteria part in an Access query, you would enter the location of the combo box as an expression ie. <br>
<br>
[Forms]![frmReporting]![Combo box name]<br>
<br>
therefore when the query is run, the value selected on the combo box will be used to limit the records.<br>