Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

that is possible...??

Status
Not open for further replies.

bigdad

Programmer
Jul 17, 2001
34
VE
I have a combobox and its data is coming from a table. now I want know if is possible that I can filter this data and the result showit in this control. I tried with some code but nothing...

thanks for your help

Bigdad
 
Hello Bigdad!

Yes, this is very possible. Set the RowSourceType property of the combobox to 3-SQL Statement and then enter an SQL SELECT statement into the RowSource property to filter the data you need from your table.

Good luck!
-- michael~
 
You can also do it if your RowSourceType is set to Alias or Fields by setting the filter of the source table with the SET FILTER TO command.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top