Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 17th, 2003, 12:48 AM
Authorized User
 
Join Date: Oct 2003
Location: , , .
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default save word doc.

hi,

i have used access to open a word doc by using the objword call. however i would like to forbid the user to save the file, they can edit and make changes to the file and print but they cannot save the file.

can i do that?? - forbid user to save the file.

pls advice
nono

 
Old October 17th, 2003, 01:57 AM
Authorized User
 
Join Date: Oct 2003
Location: , , .
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi,

how can i close ms word without savng the file???

nono

 
Old October 19th, 2003, 11:12 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Melbourne, Vic, Australia.
Posts: 308
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You could just password protect your Word file
(Tools > Options > Security > Password to modify)
This way, if they want to save the file, they'll have to save it as something else.

Steven

I am a loud man with a very large hat. This means I am in charge
 
Old October 20th, 2003, 08:51 AM
Friend of Wrox
Points: 4,007, Level: 26
Points: 4,007, Level: 26 Points: 4,007, Level: 26 Points: 4,007, Level: 26
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Lansing, Michigan, USA.
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default

I'm not familiar with this OBJWORD call you mention, but nevertheless, see if this function has any option to let you open the Word document as Read-Only. In that way, if the user edits and tries to save, Word will automatically treat the "Save" as a "Save As" operation. It will not let you overwrite the original.

Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
 
Old October 20th, 2003, 09:26 AM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Location: Clarksville, TN, USA.
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can also combine SerranoG answer and secure the folder with windows security and give users only read access to the document.
this will allow you to make changes, but not the users.

Sal
 
Old October 21st, 2003, 10:51 PM
Authorized User
 
Join Date: Oct 2003
Location: , , .
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default

that is a good idea.

thanks!





Similar Threads
Thread Thread Starter Forum Replies Last Post
printing a word doc from badgolfer ASP.NET 1.0 and 1.1 Basics 2 December 13th, 2013 07:06 AM
Creating word doc - word behaviour mat41 Classic ASP Professional 2 April 29th, 2007 06:46 PM
Copy text from 1 doc to other doc thru vba in word itchock Word VBA 2 December 29th, 2006 02:47 AM
Open Word Doc from Access - find, find next save donaldmaloney Access VBA 1 May 25th, 2005 11:09 AM
Copy word to word doc. in VB vamshi Pro VB 6 1 March 24th, 2004 06:25 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.