Stephen Russell wrote on 2015-03-05: 
>  Put a try catch in there to verify what the error is.
>  
>  On Wed, Mar 4, 2015 at 5:06 PM, Rafael Copquin <[email protected]>
>  wrote:
>  
>> The error occurs when I am trying to pull the cursor from the xml received
>> from the calling form, at the init event of the called form, with this code
>> 
>> 
>> Local oXML
>> 
>> oXML=CreateObject('XmlAdapter')
>> oXML.LoadXML(tcXML)
>> 
>> oXML.Tables.Item(1).ToCursor()    && pulling curApagar cursor
>> 
>> Rafael
>> 
>> 

Rafael,

According to your first post, this is the error:

Error number:       2110

Error message: XML analysis error: the value,type or number of arguments 
is not valid for the function.
  "original" XML node = <original>-1.005,00</original>

It looks like it is attempting to convert the "original" to a numeric. 
Depending on the encoding at the beginning of the xml, this is the wrong 
format. 

Look at the resulting XML that is passed. It should have an inline schema. It 
may have the following:

                <xsd:element name="original">
                        <xsd:simpleType>
                                <xsd:restriction base="xsd:decimal">
                                        <xsd:totalDigits value="11"/>
                                        <xsd:fractionDigits value="2"/>
                                </xsd:restriction>
                        </xsd:simpleType>
                </xsd:element>


Tracy Pearson
PowerChurch Software


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to