Results 1 to 3 of 3
  1. #1
    venu is offline Novice
    Windows XP Access 2002
    Join Date
    Mar 2010
    Posts
    11

    the last updated date and time


    how i know the last updated date and time of database, and How the last updated date and time appear on a particular report. HELP ME PLS.

  2. #2
    pkstormy's Avatar
    pkstormy is offline Access/SQL Server Expert
    Windows XP Access 2003
    Join Date
    Mar 2010
    Location
    Madison
    Posts
    682
    create a text box on the report (usually the report footer). for the control source of that text box put: =Now() or =Date()

    Format the field appropriately (ie. short date, long date, etc...)

    That shows the current date/time on the report.

    If you want to record (in a table) the last date/time the report was last executed, you'll need to write some vba code (or an append query) to write to a table which has 2 fields (ReportName and DateTimeExecuted) and then populate that table appropriately when the report is run.

  3. #3
    venu is offline Novice
    Windows XP Access 2002
    Join Date
    Mar 2010
    Posts
    11
    Quote Originally Posted by pkstormy View Post
    create a text box on the report (usually the report footer). for the control source of that text box put: =Now() or =Date()

    Format the field appropriately (ie. short date, long date, etc...)

    That shows the current date/time on the report.

    If you want to record (in a table) the last date/time the report was last executed, you'll need to write some vba code (or an append query) to write to a table which has 2 fields (ReportName and DateTimeExecuted) and then populate that table appropriately when the report is run.
    How to papulate the table when the report is run.

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

Similar Threads

  1. Date + Time = Date Time
    By TundraMonkey in forum Access
    Replies: 3
    Last Post: 07-02-2009, 09:30 PM
  2. return last updated date for each product
    By jonnyuk3 in forum Queries
    Replies: 0
    Last Post: 06-17-2009, 04:38 AM
  3. Date and time serch
    By gayano in forum Programming
    Replies: 1
    Last Post: 08-31-2007, 03:49 AM
  4. Time and date serch
    By gayano in forum Access
    Replies: 0
    Last Post: 07-05-2007, 07:59 PM
  5. Access Date/Time....I need a "generic" date.
    By beastmaster in forum Access
    Replies: 2
    Last Post: 12-29-2005, 12:55 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