If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Access > Problem in Importing XML data to access 2003-7 database

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-10-10, 05:06
harshgupta harshgupta is offline
Registered User
 
Join Date: Feb 2010
Posts: 1
Question Problem in Importing XML data to access 2003-7 database

Hi,

I am facing a problem regarding importing data from XML to access database.

Part of Sample XML:-

<Credit
<CreditDt>2011-11-13</CreditDt>
<CreditSCd>AC</CreditCd>
<NumericValue>
<FormatText id="AADEE">string</FormatText>
</NumericValue>

<SecondaryCd>Shot</SecondaryCd>
</Credit>
<Credit>
<CreditDt id="AAGFC">1979-10-19</CreditDt>
<CreditCd>AC</CreditCd>
<NumericValue id="AAGFD">
<FormatInteger>-5638</FormatInteger>
</NumericValue>

<SecondaryCd>CR</SecondaryCd>
</Credit>

Now when i am importing data into access database it is forming the table NumaricValue with first column as FormatText but when this node is again occuring with different child node FormatInteger then this colummn is not getting appended in the table.

Which is leading to loss of data for the column FormatInteger as this column is not formed.

Please suggest any solution for the same

Last edited by harshgupta; 02-10-10 at 05:09. Reason: Getting smily
Reply With Quote
Reply

Tags
import error, msaccess, msaccess 2003, xml

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On