Group:  Microsoft Access ยป microsoft.public.access.formscoding
Thread: set listbox rowsource from a command button

Geek News

set listbox rowsource from a command button
Walter 12/2/2008 9:03:01 PM
I'm trying to adapt Allen Brown's flexible search form dynamic criteria
builder to set the rowsource of a listbox. I've put the code in the Click
event of the command button. The strWhere is building correctly. My
question is where do I put the Listbox.RowSource = "Select field1, field2,
from table1" and how do I include the strWhere to filter the results?
Everything I've tried so far has failed.
--
Thanks for your help!
Walter

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net