|
-
Jan 16th, 2001, 11:29 AM
#1
Thread Starter
New Member
What I'm trying to do now, is to insert an XML document stored on my hard disk, into an Access database field.
I know how to do the database stuff, but I'm not sure how I open the file or create a reference to the file beforehand.
Any ideas guys ???
-
Jan 16th, 2001, 11:31 PM
#2
Guru
Well, if you know how to do the database stuff, then you just have to read the XML text, right?
Code:
'Uses MSXML library
Dim objDOM As DOMDocument
Set objDOM = New DOMDocument
objDOM.Load ("D:\myfile.xml") 'load the XML file
MsgBox objDOM.xml 'we have XML! Put this in your DB
-
Jan 18th, 2001, 08:35 AM
#3
Thread Starter
New Member
You would have thought so...
You would have thought so, but it's not happening as it should...
Thanks for the code snippet, I'll give it a go.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|