aj wrote: > I have a combo box attached to a cursor with two columns. one column is > the primary key. The other is a text value. I want the combo box to > display the text value but return the primary key as its > "Object.Value". How would I go about doing such a thing? > > Set combo.style to 2-dropdown list set rowsourcetype = 6 fields set rowsouce = mycursor.myfield (where the field is the text value or description) in the valid of the combo put object.value = mycursor.mypk
You will also need some code to display a stored value (E.g. when skipping through data) HTH Peter _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

