Rob62
asked on
Writing a text file from Database data
At the moment I have a 3 very simple tables - 'survey', 'value', and 'variable' that each follow the same structure of having 2 columns - 'Name' and 'Format'
The Variable table appears as below:
'Name' Format
custom3 EMPTY
custom34 EMPTY
custom345 EMPTY
What I would like to do is that when any record is added or deleted from this database that a text file with the structure below is created.
<!ELEMENT custom3 EMPTY>
<!ELEMENT custom34 EMPTY>
<!ELEMENT custom345 EMPTY>
<!ENTITY % UDvariable_controls "custom3 | custom34 | custom345 ">
If possible I would also like to be able to have this saved with a '.dtd' extension rather than a '.txt' one. Any help will be greatly appreciated as I have got no-where with this.
Thanks
The Variable table appears as below:
'Name' Format
custom3 EMPTY
custom34 EMPTY
custom345 EMPTY
What I would like to do is that when any record is added or deleted from this database that a text file with the structure below is created.
<!ELEMENT custom3 EMPTY>
<!ELEMENT custom34 EMPTY>
<!ELEMENT custom345 EMPTY>
<!ENTITY % UDvariable_controls "custom3 | custom34 | custom345 ">
If possible I would also like to be able to have this saved with a '.dtd' extension rather than a '.txt' one. Any help will be greatly appreciated as I have got no-where with this.
Thanks
what language are u using?
ASKER
Well if it could be done in VBA it would be good. Can use VB.Net though
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.