Page 1 of 1

Getting a list of values from a enum field

Posted: Tue 17 Jul 2007 19:39
by ashlar64
Hello,

How can you get a list of values that are in a field? I basically want to put these values in a drop down list box.

Thanks


---Dave

Posted: Wed 18 Jul 2007 13:06
by Antaeus
You should use the TCustomMyDataSet.GetFieldEnum method for that.
You can find description of this method with an example in the MyDAC help.
This method was introduced in MyDAC 5.