Results 1 to 4 of 4
  1. #1
    Rasha is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Apr 2014
    Posts
    12

    date modified in report


    please i wana to insert a text box in the report design that show the last date in which the data was modified ... any body can help me ?

  2. #2
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    I presume we are not talking about the 'report date' which is simply the current date when the report is generated....as this will change each time you reopen the report..... so this 'last modified date' must exist somewhere in the database for long term record - - and which case it can be displayed in the report either with the record source or as a small sub report - it will depend on how your data is structured and where that date field is located....

  3. #3
    Rasha is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Apr 2014
    Posts
    12
    sorry ... i mean that in the table design i wanna to insert new field that named date modified ... each record in the table is a separate data ... so when i print the report ... it will show only one record ... my question is how can i make the field to automatically field with last modified date and then i show this field in report
    as now() which show the created date for each record ... i wanna another thing to show the modified date

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Do you want to retain history of each modification? That would be rather complicated.

    If you just want to change the field value, use code in the BeforeUpdate event of form. VBA example:

    Me!ModifyDate = Now()
    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. modified Date & Modified BY
    By bronson_mech in forum Queries
    Replies: 1
    Last Post: 12-06-2013, 10:45 AM
  2. Last Modified date on a form with subforms
    By mindbender in forum Access
    Replies: 14
    Last Post: 05-06-2013, 02:06 PM
  3. Replies: 5
    Last Post: 12-18-2012, 02:37 PM
  4. Modified Date
    By PatCollins in forum Import/Export Data
    Replies: 3
    Last Post: 04-24-2012, 01:13 PM
  5. Replies: 1
    Last Post: 09-20-2007, 02:56 PM

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