PopupMenu.DataSource

The DataControl that references a table in a database whose fields are displayed. Use the DataField property to link a field to be displayed in a PopupMenu.

Syntax
DataSource as DataControl

# Notes

In the IDE, a popup menu of field names will appear. When setting in code, it takes a String. Assign it to the Name property of a DataControl. Note: Database fields can also be displayed via a DataControl using ComboBoxes, EditFields, ListBoxes, CheckBoxes, and StaticText controls.