CrystalSurfer
Matrix activist
- Local time
- Today, 12:54
- Joined
- Jan 11, 2006
- Messages
- 75
Can Access produce an XML file similar to the following example?
where 'Company' is a table and 'SICCodeList' as a related table that has CompanyID as a foreign key. ie: Company can have many SICCodes.
I do not want the actual keys showing up, just the values.
I have tried the normal export as XML file in Access and programatically using the ExportXML method (incl. CreateAdditionalData) but I cannot get it to produce to this format.
I am beginning to think that Access cannot do it as I have exhausted every possible combination I can think of.

Code:
<Company>
<registrationNo>178560</registrationNo>
<tradingName>Widgets Ltd</tradingName>
<SICCodeList>
<SICCode>55.50</SICCode>
<SICCode>55.60</SICCode>
<SICCode>55.70</SICCode>
</SICCodeList>
</Company>
where 'Company' is a table and 'SICCodeList' as a related table that has CompanyID as a foreign key. ie: Company can have many SICCodes.
I do not want the actual keys showing up, just the values.
I have tried the normal export as XML file in Access and programatically using the ExportXML method (incl. CreateAdditionalData) but I cannot get it to produce to this format.
I am beginning to think that Access cannot do it as I have exhausted every possible combination I can think of.
