>First you need to change the control source to blank (not linked to the company field).
>
>Then when the user types a new item into the box you should add a record to the tdypers table with the new entry.
>
>Finally, requery the combo SQL and refresh the combo.
Got it fixed with your help! I had to keep the control source tied to the combo so I can go through the records and see what company a person is working for. However, since I am already in the midst of adding a new record, I do a replace of that field, then the recommended requery and refresh. It works, so I'll take it and run.
Also discovered that I was reading the wrong section in my much-loved and dog-eared VFP Form Designer book. AddItem only works with arrays, not tables.
Thanks for putting me back on track.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement