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

autocomplete not working

Status
Not open for further replies.

psbsmms

Programmer
Dec 14, 2001
74
I have an unbound form and an unbound combo box that has a query as the row source. I can not get autocomplete to work. The 1st field in the query is text, indexed and unique. I know this has worked for me in the past, does the for have to be bound? I created a whole new form just incase it had some other problem but still no luck.
 
check the auto expand property. It should be "yes". Can you provide the sql and the number of returned columns?
 
Autoexpand is set to yes

SELECT tblProjects.Projectname, tblProjects.ProjectID FROM tblProjects ORDER BY tblProjects.Projectname;
 
What version of Access? Sounds like it could be a bug.

Try
SELECT DISTINCT tblProjects.Projectname, tblProjects.ProjectID FROM tblProjects ORDER BY tblProjects.Projectname;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top