PropertyListBox.LoadFromRecordSet

From Jeremie Leroy - XOJO Controls Wiki
Revision as of 17:27, 9 October 2015 by Admin (Talk | contribs) (1 revision imported)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Method
PropertyListBox.LoadFromRecordSet ( RS As RecordSet, IDField As Integer = 1, DisplayID As Boolean = False, DefaultType As Integer = 0 ) As Boolean


This method is used to load a RecordSet to "populate" the Listbox. An example of XML definition is available in the Notes sections of the PropertyListBox.

Optional parameter keepValues. Default is False. If the Listbox already contained a data set, and the new data set is quite similar, you can try to keep the previous values with the keepValues property.