Computer Forum Forum Index
Register  FAQ Profile Log in to check your private messages Log in Register 

Store document in SQL Server (but not on file)

 
Post new topic   Reply to topic    Computer Forum Forum Index -> microsoft word programming
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Fri Oct 26, 2007 6:49 am    Post subject: Store document in SQL Server (but not on file) Reply with quote

Hi,

There are several postings on how to upload a Word document to an SQL
Server 2000 and we have implemented that already. But my users would
prefer to never have to store the document to file, just click some
custom made button like "Store in DB", fill in some additional (meta-)
data and more or less post it to the DB. I could easily put ADO code
in our templates, but how do I get a handle on the document that I can
use in ADO calls? I can imagine something like
"ActiveDocument.Binary". Is this possible? If not, other ideas?

Regards,
Jonas
Back to top
Google
Sponsor





PostPosted: Fri Oct 26, 2007 6:49 am    Post subject: Advertisement

Back to top
Peter Jamieson
Guest





PostPosted: Fri Nov 02, 2007 2:11 pm    Post subject: Re: Store document in SQL Server (but not on file) Reply with quote

I don't think there's a way to avoid saving to something that looks either
like a Windows file system folder or a (say) an ftp or http URL. But there's
no reason why the user has to do that save explicitly. You could even
consider doing the save, then have some server-based process do all the rest
of the work so the user gets back to Word faster, if performance is the
issue. I don't know if there's a way to save to a "storage" that you could
pick up from ADO, sorry.

--
Peter Jamieson
http://tips.pjmsn.me.uk

<jonas.berling@knowit.se> wrote in message
news:1193381389.686733.224060@57g2000hsv.googlegroups.com...
Quote:
Hi,

There are several postings on how to upload a Word document to an SQL
Server 2000 and we have implemented that already. But my users would
prefer to never have to store the document to file, just click some
custom made button like "Store in DB", fill in some additional (meta-)
data and more or less post it to the DB. I could easily put ADO code
in our templates, but how do I get a handle on the document that I can
use in ADO calls? I can imagine something like
"ActiveDocument.Binary". Is this possible? If not, other ideas?

Regards,
Jonas
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Computer Forum Forum Index -> microsoft word programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Computer Forum