Adding dates to comments

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • edortiz
    New Member
    • Oct 2006
    • 4

    Adding dates to comments

    I have a database that tracks office projects and everytime someone updates the project I need the system to track the date the porject comment was entered.

    Everytime I try to do this it freezes my database.

    Any suggestions.

    Filed = Comments (Notes)
    Date= CommentDate (Date/Time)

    Thank you.
  • Tanis
    New Member
    • Mar 2006
    • 143

    #2
    What is the code you are using and what event have you used?

    Comment

    • AricC
      Recognized Expert Top Contributor
      • Oct 2006
      • 1885

      #3
      Why don't you add another column to the table and set the default date to Now() then when someone enters a new project it will automatically add the date for you.

      Comment

      • MMcCarthy
        Recognized Expert MVP
        • Aug 2006
        • 14387

        #4
        You could put an after update event on the comments control on data entry form.

        Code:
        Private Sub Comments_AfterUpdate()
           Me.CommentDate=Format(Now(),#mm/dd/yyyy#)
        End Sub
        It all depends on how the comments field is being updated. If I remember correctly a Notes data type is the equivalent of a memo field in Access and it can cause problems.

        Comment

        Working...