Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combox with adding item on user input
Message
From
08/03/1998 20:24:26
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Combox with adding item on user input
Miscellaneous
Thread ID:
00083290
Message ID:
00083290
Views:
56
I have made a combox with 3-4 items for selection.

If user type in a new one(out of lists),
then the combox will add it and set the display value to new one!

This part is completely success.

BUT problem comes as the combox has a controlsource.
when move to new record, the combox will become Empty display even:
* In Thisform.refresh, Add code:

Select Orders
thisform.cboPaymentTerms_1.Value = PaymentTerms_1
thisform.cboPaymentTerms_1.DisplayValue = PaymentTerms_1

2nd Question, as previous said, In case the value is out-of-list,
how to make it in list??

3rd Question, if I only know the listitem value, how to get the
listindex or listItemID of it?

Thanks a lot! ^_^"
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Next
Reply
Map
View

Click here to load this message in the networking platform