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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

quick question re rowsource, rowsourcetype field

Status
Not open for further replies.

MForrest

Programmer
Jun 9, 2003
85
GB
I want to display the data from a field within a table to my combobox, but the data in this field is not unique. Is there a quick fix to remove the duplicates by displaying only the unique occurances within my data field?

Originally I did list the values, but the user has a utility to ammend, add or delete the data within this field, so want the corresponding data in my combobox to reflect any changes.
 
you could try to make for example a cursor (SELECT DISTINCT yourtable.yournotuniquefield FROM yourtable INTO CURSOR cursorforcombo) and then set the rowsource to be this cursor.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top