ADO/SQL-Server LoadFromFile (XML)

From: Víctor Hugo Ulloa Meléndez (tfertil_at_hotmail.com)
Date: 02/23/04


Date: Mon, 23 Feb 2004 09:20:56 -0600

Hi everyone,

We're using Delphi 7, SQL-Server 2000 SP3, Windows XP and ADO
connections and datasets.

We're trying to load data into a SQL table from an XML file. The XML
is generated in a remote site using:

MyAdoDataset.SaveToFile('filename.xml',fgXML);

When our site gets the file and try a

MyAdoDataSet.LoadFromFile('filename.xml');

we got no exceptions, and a dbGrid connected to the dataset loaded on
screen shows the data loaded from the file. But when we close
MyAdoDataSet and inspects the table on the SQL-Server, it's empty!!

Details to take note:
A. The original table on remote site has a different name than the
target table at our site (but the same structure).

What are we missing? Thanks to all,

Víctor H. Ulloa
Tierra Fertil S.A.



Relevant Pages

  • Re: svchost.exe connect port 80 and 443
    ... >> Sygate, and restarted Windows XP. ... > on the machine solicites the traffic from a remote site by sending ... > connections. ... > what's using it and killing it, instead of killing svchost.exe that is ...
    (comp.security.firewalls)
  • Merge Replication - or whatever is the best idea!!!
    ... Utilize merge replication to manage the data and keep it all in sync. ... Some remote sites have very unreliable connections: ... A remote site may be unavailable for such a period ... and then bring a synchronized set of data back to the subscriber site to ...
    (microsoft.public.sqlserver.replication)
  • PIX 501 and 506 lossing VPN connection to remote site after timeout
    ... I have a PIX 501 at a remote site with two VPN connections back to the ... If I have them initiate a ping back to the home office I ...
    (comp.dcom.sys.cisco)
  • Re: VPN without Firewall?!
    ... > Provided you can be sure that there are no other connections at ... > the remote site. ... Support the ban of Dihydrogen Monoxide: http://www.dhmo.org/ ...
    (comp.security.misc)
  • Re: VPN without Firewall?!
    ... > Provided you can be sure that there are no other connections at ... > the remote site. ... Support the ban of Dihydrogen Monoxide: http://www.dhmo.org/ ...
    (comp.security.firewalls)