Zeroanarchy
Technical User
what I am trying to do is limit the combo box on entry ie. press "a" only entries starting with "a" show on the combo box drop down list, and if you select "ab" show only entries starting with "ab" and so on and so on and if they go back and select "c" refresh and only show list starting with "c".
hope this makes scence. any help greatly appreatiated.
this is what I have got so far.
Row Source: SELECT DISTINCTROW names.[Surnames], names.[first Names], names.[MiddleName] FROM names ORDER BY names.[Surnames Name];
Code on change:
Me.Combo224.RowSource = "SELECT DISTINCTROW names([Surnames_Name], " & Len(Combo224.Text) & " Like '" & Combo224.Text & "*'"
Me.Combo224.Requery
Zero
hope this makes scence. any help greatly appreatiated.
this is what I have got so far.
Row Source: SELECT DISTINCTROW names.[Surnames], names.[first Names], names.[MiddleName] FROM names ORDER BY names.[Surnames Name];
Code on change:
Me.Combo224.RowSource = "SELECT DISTINCTROW names([Surnames_Name], " & Len(Combo224.Text) & " Like '" & Combo224.Text & "*'"
Me.Combo224.Requery
Zero