XMLTable object with XMLName "name" does not have associated fields. (Error 2130)

Visual FoxPro requires that the XMLTable object must contain an associated XMLField object or objects, before the XMLAdapter objects, ToXML method can be called.

  • Execute the XMLAdapter objects, AddTableSchema method, to create the XMLTable and XMLField collections, or otherwise create these items.