Here is some code that demonstrates the error I was researching. 
The link you shared references SP 1. I'm hoping to find a list for SP 2 now.

    CREATE CURSOR csrTest (pkid i, alpha c(20), timestamp t null)
    INSERT INTO csrTest VALUES (1, "A", DATETIME())
    INSERT INTO csrTest VALUES (2, "B", null)
    LOCAL ox as XMLAdapter, ot as XMLTable, ct
    ctn = STRCONV("TestModel", 12)
    ox = CREATEOBJECT("xmlAdapter")
    ox.XMLSchemaLocation = ""
    ox.RespectNesting = .T.
    ox.FormattedOutput = .F.
    ox.PreserveWhiteSpace = .F.
    ox.AddTableSchema("csrTest", .T., ctn)
    ox.XMLName = STRCONV("TestModelList", 12)
    ot = ox.Tables(ctn)
    && This line errors in VFP 9 SP 1 (3504), not SP 2 (7423)
    ot.Fields(STRCONV("pkid", 12)).XmlName = STRCONV("Id", 12)
    ot.Fields(STRCONV("alpha", 12)).XmlName = STRCONV("Alpha", 12)
    ot.Fields(STRCONV("timestamp", 12)).XmlName = STRCONV("TimeStamp", 12)
    ot.Fields(STRCONV("TimeStamp", 12)).IsNull = .T.

-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Koen
Piller
Sent: Tuesday, June 11, 2019 12:59 PM
To: [email protected]
Subject: Re: VFP 9 SP fix lists

Hi,
What does your errorhandler learn you on this error?
Koen



_______________________________________________
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: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/[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