Bookshelf Home | Contents | Index | Search | PDF |
Siebel SmartScript Administration Guide > Extending Scripts with Siebel VB and Siebel eScript > Other Preprogrammed SmartScript Methods >
SetUserParameter
SetUserParameter assigns a value to a specified user parameter.
Syntax
SetUserParameter ParameterName, value
Argument Description ParameterName The name of a user parameter, as a string value The value to be assigned to ParameterName, as a stringReturns
Not applicable
Usage
SetUserParameter is used most commonly to store the value of a user parameter, which can be called in another subroutine by using GetUserParameter. It can also be used to assign a system parameter, obtained with GetParameter, to a user parameter. SetUserParameter is declared as a string.
Siebel VB Example
If ContactExists then
SetUserParameter "ContactExists", "Y"
else
SetUserParameter "ContactExists", "N"
ContactBC.NewRecord NewBefore
end if
See Also
Bookshelf Home | Contents | Index | Search | PDF |
Siebel SmartScript Administration Guide Published: 23 June 2003 |