swilson
Posts: 84
|
Posted: 01/09/2006, 5:49 AM |
|
In my case, the listbox is limited by assigning an expression variable from the form. For example, in the BeforeBuildSelect of the listbox:
Expr72.value = Item.model.value
Expr74.Value = Mid(item.SERIAL_NUMBER.Value,5)
Expr75.Value = Mid(item.SERIAL_NUMBER.Value,5)
Then, in the Table/View mode, Where:
Model = '{Expr0}' AND
SubString(BegSN,5,10) <= '{Expr1}' And
SubString(BegSN,5,10) >= '{Expr2}
I don't know how to build an SQL statement that would allow me to tie into a variable from the form. The above solution works well, and other questions in the forum were unanswered. I hope it helps.
_________________
It continues to amaze me, how often the solutions to seemingly complex problems are so very simple. |