Re: Return Combo Value not Index

Author: Stephen Russell

Posted: 2012-03-13 at 16:05:33

On Tue, Mar 13, 2012 at 3:57 PM, Christof Wollenhaupt

<christof.wollenhaupt@foxpert.com> wrote:

> Numeric data isn't a good choice for the combo box... <s> Internally the

> combobox control is using strings only. You can easily see the effect when

> the rowsource is N(10,2) and the controlsource is I. Because one results in

> "1.00" and the other in "1" it seems like the combobox isn't accepting any

> value at all.

>

----------------------------

A combo box is just a draping for the data it contains. You define

the presentation as well as value. You can define what element your

value is can't you? This way the value could be an Int or Char.

--

Stephen Russell

901.246-0159 cell

_______________________________________________

Post Messages to: ProFox@leafe.com

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/CAJidMYLTp9Dm04WV8Oqh4VLOC_Np+-oHqmpR-1cxKm7o00yXWQ@mail.gmail.com

** 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.

©2012 Stephen Russell