ListBox.ShowOnlyRowSourceValues Property

Access Developer Reference

Gets or sets whether the list box can display values that aren't specified by the RowSource property. Read/write Boolean.

Version Information
 Version Added:  Access 2007

Syntax

expression.ShowOnlyRowSourceValues

expression   A variable that represents a ListBox object.