Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box problem.
Message
From
16/09/1997 13:07:01
 
 
To
16/09/1997 12:51:15
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00050232
Message ID:
00050235
Views:
20
>I have a COMBO BOX and I am using the STYLE of 0 (Dropdown Combo).
>I have another field (txtname) that is on top of the COMBO BOX and is VISIBLE =.F.. When I APPEND BLANK, I set txtname to VISIBLE =.T., it hides my COMBO BOX by appearing over it. I add my new record. In the LOSTFOCUS event of this field called txtname, I set VISIBLE=.F.
>Now you can see the COMBO BOX again. I would like to have the record I just added to be the value record or currenet record in the COMBO BOX. Any ideas?

I assume the combo box is bound to the table you just added a record to, and that now the new record is the current record... It may be as simple as doing a combobox.refresh().
-----
Lee Perkins
TigerBase Technologies

"Lee is one that would plug his brain into the internet, if he could, and STILL scream for more" - Very good friend of Lee's
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform