Hi there Kurt
try this:
** open two tables, put them inside an xml and send the xml away
Clear All
Close All
Public oXML,cXML
Use clientes In 0 Alias customers
Use proveed In 0 Alias suppliers
oXML=CreateObject('XMLAdapter')
oXML.addtableschema('customers')
oXML.addtableschema('suppliers')
oXML.toXML('cXML')
Release oXML
Use in customers
Use in suppliers
** you now have a property in memory called cXML
** you can send this property to a receiving computer via Internet
** at the other side do this
Public oXML
oXML=CreateObject('XMLAdapter')
oXML.loadxml(cXML)
oXML.tables(1).tocursor(.f.,'curCustomers')
oXML.tables(2).tocursor(.f.,'curSuppliers')
Select curCustomers
Browse
Select curSuppliers
Browse
Clear All
Close All
----- Original Message -----
From: "Kurt Wendt" <[email protected]>
To: <[email protected]>
Sent: Friday, February 13, 2009 12:10 PM
Subject: VFP, EDI & XML - Oh My...
> Hello there folks,
>
>
>
> For the past few days I have been trying to wrap my head around this
> project - which involves exporting and importing of EDI files via the
> XML format from within VFP. I even looked at a previous discussion
> thread for help:
>
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/b10087bc7f784406adeb4d111a6ef...@rafael
** 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.