Solved

Word Template saved over by user

Posted on 2011-03-22
8
311 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
Comment Utility
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
Comment Utility
0
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 total points
Comment Utility
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
 

Author Comment

by:daiwhyte
Comment Utility
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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 76

Expert Comment

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

Author Comment

by:daiwhyte
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks Graham
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This is written from a 'VBA for MS Word' perspective, but I am sure it applies to most other MS Office components where VBA is used.  One thing that really bugs me is slow code, ESPECIALLY when it's mine!  In programming there are so many ways to…
Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
This video teaches the viewer how to align pictures around text while keeping the text properly aligned in the document.
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now