Results 1 to 4 of 4
  1. #1
    redbull's Avatar
    redbull is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Mar 2012
    Location
    Missouri
    Posts
    480

    Front end on shared drive, modified date?!

    Alright quick scenario... I have a front end and back end, both on a shared drive.

    90 users have shortcuts on their desktops, it is a vbs file. this vbs will copy down the front end if the date modified is newer on the front end, then the local copy.

    So apparently my front end is showing date modified as of yesterday, this concerns me because I have not made any changes.

    I guess I am wondering if this date modified would change for any reason other then someone opening the file directly off the shared drive and messing with it?



    I know front ends and backends with vbs files are pretty common practice, so hoping someone has knowledge about this issue.

    edit --

    The front end is a MDE file, not MDB
    Last edited by redbull; 09-13-2012 at 09:57 AM. Reason: fergot

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    The Windows modified date? That will change just by opening the file, so I wouldn't rely on it. There are probably many was to do this, but I use a local table in the front end, with fields for version number, date, and a brief description of the changes made. My utility compares the max version numbers in the local/server versions and copies down if different. An added benefit is it gives me a history of the changes made if I don't remember when I did something.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    redbull's Avatar
    redbull is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Mar 2012
    Location
    Missouri
    Posts
    480
    "That will change just by opening the file, so I wouldn't rely on it." - Hmm, but no one is supposed to be opening the front end on the server at all... thats what concerns me.


    "
    There are probably many was to do this, but I use a local table in the front end, with fields for version number, date, and a brief description of the changes made. My utility compares the max version numbers in the local/server versions and copies down if different. An added benefit is it gives me a history of the changes made if I don't remember when I did something." - I will buy you a Klondike bar if you could help me do something like that, or point me in the right direction... That.. sounds...amazing.

  4. #4
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Well, I use VB6 so I'm not sure if the syntax is different, but the relevant lines are:

    Code:
      Dim rsAccess      As ADODB.Recordset
      Dim intServer     As Integer
    
      'get version number from server copy
      Set rsAccess = New ADODB.Recordset
      rsAccess.ActiveConnection = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & g_sServerPath & ";Persist Security Info=False;"
      rsAccess.Open "SELECT Max(Version) AS MaxVersion FROM Version_local"
      intServer = rsAccess!MaxVersion
    where g_sServerPath is the path to the file. I think my buddy Bill uses VBS and a text file:

    http://www.thatlldoit.com/Pages/howt....aspx#feupdate
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Modified Date
    By PatCollins in forum Import/Export Data
    Replies: 3
    Last Post: 04-24-2012, 01:13 PM
  2. Replies: 2
    Last Post: 03-01-2012, 04:14 AM
  3. Replies: 0
    Last Post: 07-14-2010, 04:01 PM
  4. Problems with Access 2003\2007 and shared drive
    By swasielewski in forum Access
    Replies: 3
    Last Post: 07-10-2009, 06:32 AM
  5. Multi Users on shared drive
    By wallen in forum Access
    Replies: 0
    Last Post: 08-25-2008, 08:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums