VLPropertyList Reference

Method LoadRecordset

See Also See Also Applies To Applies To

This method adds the fields from a recordset object in the VLPropertyList control.

 

Syntax

object.LoadRecordset (rs As object, Optional ByVal bAutoUpdate As Boolean = True) as Boolean

 

The LoadRecordset method syntax has these parts:

Part Description
object An object expression that evaluates to a VLPropertyList.
rs An object expression evaluating to an ADO recordset which should be used to get the names and values of the data fields.
bAutoUpdate An object expression specifies to update or not the data in the resultset obhect if the value of the properties change.

 

Remark

This method provides an easy way to utilize VLPropertyList control as a compact recordset browser. It automatically sets up appropriate editor types based on the data type for each field of the recordset.