Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Combo Box with One to Many Form
Message
From
21/04/1998 18:28:12
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Using Combo Box with One to Many Form
Miscellaneous
Thread ID:
00093842
Message ID:
00093842
Views:
56
I used the One to Many Wizard to create a form. After it built the form I replaced some of the TextEdit Boxes with ComboBoxes(which will be more appropriate for my form). When I add a record though, the ComboBox will not update with the new Name. I have to select the newname from the ComboBox list. Everything functions normally from there.

Is there any way to make the ComboBox refresh its display and set all associated values to the new values (ie blank for most of them).

I tried setting the value of the ComboBox:
thisform.cbobox1.value = newvalue.

but that failed miserably and had the nasty sideffect of changing my keyfied value to that of recno 1. (Can someone explain this?)

I haven't tried to set listindex to -1.


Thanks for the help!

TNT

Brad
Next
Reply
Map
View

Click here to load this message in the networking platform