Home > Archive > FoxPro Help and Support > July 2005 > Combo Box Behavior









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Combo Box Behavior
jack

2005-07-18, 11:24 am

I'm using a Combo Box control on a form to allow a user to either select a
value from a table or key in a new value. When a user keys in a new value,
I'm adding that value as a new record in the source table. When the user
tabs out of the control to the next object, the Text property for the
control becomes blank. Is there something simple I'm missing in order to
keep the text that the user keyed in the Text displayed.

Thanks in advance,

Jack


Dan Freeman

2005-07-18, 1:24 pm

After inserting into the source table, call the control's Requery().

Dan

jack wrote:
> I'm using a Combo Box control on a form to allow a user to either
> select a value from a table or key in a new value. When a user keys
> in a new value, I'm adding that value as a new record in the source
> table. When the user tabs out of the control to the next object, the
> Text property for the control becomes blank. Is there something
> simple I'm missing in order to keep the text that the user keyed in
> the Text displayed.
>
> Thanks in advance,
>
> Jack



jack

2005-07-18, 1:24 pm

Thanks!

"Dan Freeman" <spam@microsoft.com> wrote in message
news:%23Tdtjb8iFHA.4000@TK2MSFTNGP12.phx.gbl...
> After inserting into the source table, call the control's Requery().
>
> Dan
>
> jack wrote:
>
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com