TheresAlwaysAWay
Programmer
I have a 20+ user Access DB with SQL Server 2016 back end for use in a large insurance agency. We have what we call ShortApps, which are Word documents created with Mail Merge to be populated with info from the Access customer record and which are ultimately attached to an email and sent to the customer.
Which application is sent is determined by a concatenated field that consists of <Insurance Company Name> + <Vehicle Type> + <Policy Loss Settlement>, perhaps "Progressive Travel Trailer Total Loss Replacement", and that name, based on customer record data, along with a .docm suffix, is the file name that is ultimately identified, populated, and attached to the document.
The Word documents are infrequently updated, sometimes remaining untouched for months, and when a change is made a notice is sent to all users to update the entire ShortApps folder from the public drive to their local C: drive. The matching and attaching happens on the local drive. The public drive just holds the master copies for users to download when a change is made.
The issue is that we can send a notice to users to update, but human beings often intend to do something "later" and never do. I need a way to check to see if the local C: drive copy version matches the latest public drive version when the command to print and email a document is given.
I'm always open to better ideas, but I was thinking of a file with a name "Version", or something similar, being included in the same master folder with all the applications. It could be a Word or text or any other document format. I suppose theoretically it could also be an accdb. document as well. The ultimate goal is to get the print/send command to first look up the date info in the public Version document, and then compare it to the info in the C: drive Version document. If they're the same (in other words, user has the most current version), then command proceeds normally. If they don't match (meaning the user is not on the current version), a message pops requiring user to update ShortApps before continuing to print/send.
For clarification, my expectation is that the person who updates any of the master copies will manually change the version information, perhaps just to the current date. I don't think much more than that is needed.
I can get Access to seek out a given file on the C: drive, such as the actual application, but I don't know how to get it to read information contained within that file and use it for some sort of data comparison.
Thank you all in advance. I'm always appreciative of any offers of help, and will be happy to answer any questions if I haven't made my needs fully understandable.
Which application is sent is determined by a concatenated field that consists of <Insurance Company Name> + <Vehicle Type> + <Policy Loss Settlement>, perhaps "Progressive Travel Trailer Total Loss Replacement", and that name, based on customer record data, along with a .docm suffix, is the file name that is ultimately identified, populated, and attached to the document.
The Word documents are infrequently updated, sometimes remaining untouched for months, and when a change is made a notice is sent to all users to update the entire ShortApps folder from the public drive to their local C: drive. The matching and attaching happens on the local drive. The public drive just holds the master copies for users to download when a change is made.
The issue is that we can send a notice to users to update, but human beings often intend to do something "later" and never do. I need a way to check to see if the local C: drive copy version matches the latest public drive version when the command to print and email a document is given.
I'm always open to better ideas, but I was thinking of a file with a name "Version", or something similar, being included in the same master folder with all the applications. It could be a Word or text or any other document format. I suppose theoretically it could also be an accdb. document as well. The ultimate goal is to get the print/send command to first look up the date info in the public Version document, and then compare it to the info in the C: drive Version document. If they're the same (in other words, user has the most current version), then command proceeds normally. If they don't match (meaning the user is not on the current version), a message pops requiring user to update ShortApps before continuing to print/send.
For clarification, my expectation is that the person who updates any of the master copies will manually change the version information, perhaps just to the current date. I don't think much more than that is needed.
I can get Access to seek out a given file on the C: drive, such as the actual application, but I don't know how to get it to read information contained within that file and use it for some sort of data comparison.
Thank you all in advance. I'm always appreciative of any offers of help, and will be happy to answer any questions if I haven't made my needs fully understandable.