Solved

Word Template saved over by user

Posted on 2011-03-22
8
313 Views
Last Modified: 2012-05-11
Hi,

I have a user who has saved over a .dot file and each time it opens following this incident, the data it pulls from our database (via odbc) is incorrect due to the previous data still being in the .dot file.

How can I clear out the old data and reset the form to its previous state (blank) so each time it opens, the new data is pulled from the database.

Thanks
0
Comment
Question by:daiwhyte
  • 4
  • 3
8 Comments
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 35188816
Open it as a document, edit out the unwanted data, and save it again.

Do make sure that, in future, the template is used correctly. That is to say that it should not normally be opened as a document, but selected via File/New. If necessary, make the folder read-only.
0
 
LVL 8

Expert Comment

by:vsudip
ID: 35188831
0
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 total points
ID: 35188835
If that doesn't work, we may need to know more about the document. For instance, what mechanism is used to populate the document from the database?
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

Author Comment

by:daiwhyte
ID: 35189213
The file is populated via a odbc connection, in this case - when the template is launched, its populated with name, address details. Whats happened is someone has opened the template and typed over these fields so the data source has gone also.
0
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 35189351
Do you mean that you have (or had) one or more database fields to display the data?
0
 

Author Comment

by:daiwhyte
ID: 35189415
Yes, Ive now managed to restore a file which has the correct links from backup, from this restore - I have been able to work out how the doc interacts with the db and have corrected the problem. Ive also made the doc's read only to stop future overwrites.
0
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 35189692
That's good news. But also take note about how to use templates.

If it is on a network share, have all the users set their default location for 'Workgroup templates' to point to the share.
0
 

Author Closing Comment

by:daiwhyte
ID: 35190170
Thanks Graham
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nice table. Huge mess. Maybe this was something you created way back before you figured out tabs or a document you received from someone else. Either way, using the spacebar to separate the columns resulted in a mess. Trying to convert text to t…
Microsoft Word is a program we have all encountered at some point, but very few of us have dug deep into its full scope of features, let alone customized it to suit our needs. Luckily making the ribbon (aka toolbar, first introduced in Word 2007) wo…
This video shows the viewer how to set up and create Footnotes in their document. Click on the References tab: Select "Insert Footnote": Type in desired text:
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question