Siebel SmartScript Administration Guide > Extending Scripts with Siebel VB and Siebel eScript > Other Preprogrammed SmartScript Question Methods >

GetPriorCurrencyCode


GetPriorCurrencyCode returns the currency code entered the previous time the question was reached.

Syntax

GetPriorCurrencyCode

Returns

The previous currency code for the question, as a string.

Usage

This method returns the currency code for the question (if it is a currency question) before the user reached it most recently. This will be either the same value as returned by GetInitialCurrencyCode, if the user has never entered the question, or the value as returned by GetCurrentCurrencyCode, after the user left it the last time. The function is usually used only for the current question. GetPriorCurrencyCode is declared as a string.

See Also

GetCurrentCurrencyCode and GetInitialCurrencyCode.


 Siebel SmartScript Administration Guide 
 Published: 23 June 2003