BETWEEN [forms].[frmMainAdmin-Alpha].[lstFilter].[Column1] AND
[forms].[frmMainAdmin-Alpha].[lstFilter].[Column2]
The combo box has 3 fields: AlphaTitle (the title of the record), AlphaStart
(A text field with the value of "A*", and AlphaEnd (A text field with the
value of "Kz*")
It keeps asking me for the parameter values of columns 1 and 2. What am I
doing wrong?
--
Thanks As Always
Rip
--
Duane Hookom
Microsoft Access MVP
BETWEEN Eval([forms].[frmMainAdmin-Alpha].[lstFilter].Column(1)) AND
Eval([forms].[frmMainAdmin-Alpha].[lstFilter].Column(2))
It's not cheating. You cannot reference the Column property of a listbox or
combobox from a query. So Duane's method is the right way to do it.
Alternatively, you can use a public function that reads the Column property
from the combobox, and use that function in your query to return the value
to the query.
--
Ken Snell
<MS ACCESS MVP>
http://www.accessmvp.com/KDSnell/