Allows a user to set and apply a data source to the controls on the specific page.
Smartcode
Syntax
SetDataSource(controlname, variable)
Parameters
- controlname (Required) – Name of the control
- variable(Required) – Value to be updated
- String – A-Z, 0-9, Special character (_)
- Length – 50 Characters
Example
SetDataSource(‘form’,’#Sample’)
Directcode
Syntax
Orefuncs.SetDataSource
Parameters
- controlid(Required) – To get control ID
- data(Required) – To get data for source
- screenName(Required) – To get screen name
Example
SetDatasource(‘form’,’#Sample’);