Groups > Borland > Delphi web services WSDL > Re: TXSDecimal, Help




TXSDecimal, Help

TXSDecimal, Help
Tue, 26 Jun 2007 23:38:20 -030
Please, help me

I was import a WSDL, but i don´t  know, how can i work with TXSDecimal ?

I'd like to see examples about it, how i can manage TXSDecimal Variable ?

example :

Type of declaration

    FPDQTFAT: TXSDecimal;
    FPDVLTAR: TXSDecimal;
    FPDVLFPV: TXSDecimal;
    FPDVLLBF: TXSDecimal;


code programming

                PDQTFAT:=TXSDECIMAL.Create;
                PDVLTAR:=TXSDECIMAL.Create;
                PDQTFAT.XStoNative(floaTtoStr(fieldvalues['123.78']));
                PDVLTAR.XStoNative(floaTtoStr(fieldvalues['PDVLTAR']));


thanks 

Post Reply
Re: TXSDecimal, Help
Tue, 10 Jul 2007 16:50:03 -070
Hello Fabio,

Can you post some information about the issue you're running into? I suspect
XSToNative is throwing an exception? Probably because the string it received
is not a valid 'xsd:decimal' ???

Cheers,

Bruneau.

Post Reply
about | contact