![]() |
How to store XML data in ACCESS DB using VB6
Hi ,
I am new to VB6 and doing a proj in VB6 I need to extract data from an XML file and store it in a database table(MS ACCESS).Lets say Tablename=XYZ I used the code in module modmain but I am getting an error saying "could not find installable ISAM". The MS ACCESS Table contains following fields: 1.Machine ID 2.Fault id 3.Date of Occurence 4.Time of Occurence consider the XML File <MACHINE> <ID> 100 <FAULTID>F001</FAULTID> <DOO>06.42.19</DOO> <TOO>06.02.1997</TOO> </ID> <ID> 100 <FAULTID>F002</FAULTID> <DOO>05.12.19</DOO> <TOO>06.02.1997</TOO> </ID> </MACHINE> AL the above values need to be stored in ACCESS table.I used XML4 here. :
Public g_ConDB As ADODB.ConnectionCan someone rectify the error & if possible can explain the meaning of this code,not the whole thing but atleast the gist. I need it urgently. |
Re: How to store XML data in ACCESS DB using VB6
I used start mode from submain & used Microsoft Active DAta Objects (2.6) & msxml4
|
| All times are GMT -5. The time now is 3:49 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC