See Also: ConvertToClient, Web Application Helper Functions
In web applications, this function converts a typed value from the generic format appropriate for transfer (e.g. as XML or JSON data) to the DataFlex format for that type.
Move ( ConvertFromClient ( eDataType, sValue ) to ReturnedValue
Where:
eDataType Must be passed to inform this function how to interpret the passed value sValue. This should be one of the Web Framework data type constants: typeASCII, typeNumber, typeDate, typeDateTime.
sValue is the value to be converted.
ReturnedValue the converted value (as a String).
In web applications, this function converts a typed value from the generic format appropriate for transfer (e.g. as XML or JSON data) to the DataFlex format for that type.
For example, a date value should be converted from XML transport format for dates. e.g. European "2013-03-24" is converted into "24/03/2013", USA "2013-03-24" is converted into "03/24/2013".
This function is intended to be used when receiving numeric or date values from the client during an AJAX call in a Web Framework application.
This function is already used internally by the framework to convert psValue Web Properties.