Populating a virtual table from XML data binding file

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
w1ngnut
Posts: 5
Joined: Thu 29 Jan 2009 00:26

Populating a virtual table from XML data binding file

Post by w1ngnut » Fri 06 Feb 2009 13:23

Hi Guys,

I'm trying to load data from an xml file into a Vritual table.
I call load from file and open the dataset ok but all I get is a blank field in the data grid associated with the dataset.

I've tried opening the .dbx file, but the result is the same.

Anybody got any ideas as to how I can do this?

Cheers

T

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 09 Feb 2009 10:06

Please, try to open this xml file in the VirtualTable demo of MyDAC Demo and check the result.

w1ngnut
Posts: 5
Joined: Thu 29 Jan 2009 00:26

Post by w1ngnut » Mon 09 Feb 2009 12:59

Hi,

I managed to sort it myself.
I used the save to file method of the standard table to create the XML files.
It now works, however, I have found that the components usefulness is somewhat limited due to the fact that I cannot set Master/detail relationships and have to keep setting filters to mimic this functionality, which means I will have to create separate routines for reading and writing data to the database and for doing the same for the virtual tables.

I'm probably going to have to look for another solution.

T

Post Reply