yes - i've seen that but it doesn't tell me what to do with it ! i've tried to work it out for myself but just can't get going with it !
Thanks anyway
Lou
Main Topics
Browse All TopicsI have an online application form consisting of a dozen asp pages all writing back to an access database. Some of the pages have entries which may differ in number from one applicant to another (eg. qualifications, previous employers). I now need to get the completed application emailed back to the recruitment department here. I can work out (I think) how to email the file as an attachment.
What I'm struggling with is getting the data back in a format that can then be formatted so that the application completed online looks as similar as possible to one printed off and filled in (ie. the layout of the form has to be similar as possible for equal opportunities reasons)
I've come up with the following process if i can get the data back in a format that can be merged into a word document
the word document could be stored on the client pc
the recruitment person would receive an email with an attachment (the data file)
the attachment can be saved with the same name every time
the word document would be opened and the data would merge in
the doc could then be printed off.
As the number of fields is different everytime I thought that XML might be an idea. I've found a dll type thing called XML2Word which claims to do the job but I don't know how to use it.
I've worked out how to save the recordset as an XML file using adPersistXML but the resulting file seems overly complicated with the data being stored within the tags as attributes rather than between the tags (does that make sense?!).
So I'd be grateful for your help in these areas
firstly, how do i use this dll thing ? do I have to install it somewhere ? then what ? ...
secondly, should i be trying to get a simpler xml file or does it sound ok ?
and finally, am i completely missing the obvious, barking up the wrong tree ... .... ?!
Thanks for your help
Louise
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
walk the recordset using while..wend and iterate the column fields using for .. each .. next, then either
using MSXML (version 4 recomended), populate the DOM and save it as file or
populate a string and save it to file using filesystem object.
Each record node can be named after the column heading. The id value would come from the record's primary key.
for structure example only:
<xml>
<data>
<record id="1">
<field1></field1>
<field2></field2>
</record>
<record id="2">
<field1></field1>
<field2></field2>
</record>
</data>
</xml>
cheers
Pedro
Business Accounts
Answer for Membership
by: rsashiPosted on 2003-02-11 at 04:39:18ID: 7924829
here a example for xml2word nky.braem1 7/
http://home.tiscali.be/fra