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

ComboBox 7

Status
Not open for further replies.

StewartUK

Programmer
Feb 19, 2001
860
GB
Hi,

I have a ComboBox which I want to use to select codes. The RowSourceType is 2-Alias, with nothing in the RowSource property. In the form's Init event, I have selected all the records from the codebook into a cursor, and put the cursor name into the RowSource.

What I would like to be able to do is as the user types characters, the ComboBox selects into the cursor records that match what the user has typed.

Any suggestions?

Thanks,

Stewart
 
I should write a little automation program using outlook to e-mail it to everyone on Tek-Tips :)
 
Would it be possible for you to send me this code as well (Deep in the heart of Wales - UK)!! Many thanks
KB

chrisclesby@hotmail.com When everything else is said and done, there will be nothing else to say or do! God Bless everyone....
 
Stewart (or anyone interested)

As you found out the "auto-fill" combobox class proposed to you doesn't allow to add the value that was not not.

I've modified the "auto-fill" combobox class to allow to add the value if the user types-in something that wasn't found.

I have a couple more tests to run and if you are interest, let me know, I'll e-mail it to you.

BTW This class will not work (with this new feature) in VFP5.0
 
Mike,

May I have a also copy with which to experiment ...

FoxEgg
jfox2@bigpond.net.au


(I bet you are driven crazy with requests)



 
Could you, please, post that source as a FAQ?

thank you Cristian
 
csimion

Already there. There are two versions faq184-1812 (the prg format including the combobox) and faq184-1792 (with the addition of having the option of adding the value not found in the source table) Mike Gagnon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top