Results 1 to 4 of 4

Modified Date

  1. #1
    PatCollins is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2012
    Posts
    2

    Question Modified Date

    Hello,


    Can you tell me if there is a way to export the (reserved) Last Modified Date of all of the records in a table, if there was no field created for this funtion?

    I realize that there is a CurrentDb.TableDefs("MyTableName").LastUpdated function, but how can I get this to export to SQL with the last modified date as a column property?

    Thanks
    Pat

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    48,232
    Not sure what the issue is. If you can grab the value you can output it somewhere. Message box, Debug.Print, save to a table.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    PatCollins is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2012
    Posts
    2
    Just and FYI, I am not an access developer.

    I have a table in access that has no audit history(I did not build it.) I have data that is a month old from the table and I only want to extract anything that has been modified in the past month. Thus I woud like to extract the data where the Last modified date is Feb 29 or later.

    Is this possible?
    Thanks
    Pat

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    48,232
    How did you arrive at Feb 29 as the cutoff?

    If there is no field with a date value there is no way to select records based on a date criteria.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 15
    Last Post: 04-06-2012, 10:57 AM
  2. Saving/Restoring Modified Datasheet Form
    By EddieN1 in forum Programming
    Replies: 1
    Last Post: 01-20-2012, 09:48 PM
  3. Save details of who modified a record
    By KEVWB in forum Access
    Replies: 8
    Last Post: 02-25-2011, 11:54 PM
  4. Replies: 4
    Last Post: 09-10-2010, 08:00 AM
  5. Replies: 1
    Last Post: 09-20-2007, 02:56 PM

Tags for this Thread

Posting Permissions

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