>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
Use Combo.Requery after you change rowsource (e.g. add a record).
>2nd Question, as previous said, In case the value is out-of-list,
>how to make it in list??
Add record to Combo.Rowsource
>3rd Question, if I only know the listitem value, how to get the
>listindex or listItemID of it?
Loop thorugh Combo.List(i) until you find the item.
Edward Pikman
Independent Consultant