Consultor Eletrônico



Kbase P49452: Dynamics currentLoginValues property does not work with decimal values and European number format.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/06/2009
Status: Unverified

SYMPTOM(s):

Dynamics currentLoginValues property does not work with decimal values and European number format.

If -E is set then adding a decimal value such as 15,45 to the currentLoginValues property fails because the decimal value gets lost. Since the property is a comma separated list of field value pairs, the decimal appears to be two separate integers.

FACT(s) (Environment):

Dynamics 2.0A

CAUSE:

This is a known issue being investigated by Development

FIX:

Workaround:
Call fixQueryString before updating the currentLoginValues property. This converts the decimal value to 15.45. e.g. where a fillin "fiChar" value is 15,45:

dValue = dec(fiChar:SCREEN-VALUE).

cString = 'Name, Joe, Number, ' +
string(dValue) + ', Address, 15 credibility St.'.

cString = DYNAMIC-FUNCTION('fixquerystring':U, INPUT cString).