method SetPropertyValue(PropertyName: String, Value: Variant)
This sets the value of the property or MaxBasic variable named in PropertyName to the Value.
SetPropertyValue method syntax has these named arguments:
Parameter |
Description |
|---|---|
Property Name |
Required. Name of the Property to set the value for. |
Value |
Required. The value to set Property Name to. |
For example:
tblMemoryTable1.SetPropertyValue("Inactive", "True")
will set the value of a boolean Inactive property to True.
tblMemoryTable1.SetPropertyValue("Reference", "ORD 1234")
will set the value of a string Reference property to "ORD 1234".
See also the Memory Table Builder SetPropertyValue method and the Scripted Form SetPropertyValue method.