Time Stamp on a record

Ask a Question related to Microsoft Access, Design and Development.

  1. #1

    Default Time Stamp on a record

    I have a subform within a form. When a user creates a new
    record in the subform, I would like to have the date/time
    automatically stamped on that record at the time of
    creation. I've tried doing this, but whenever i access
    that record at a later time, it shows up with the current
    time instead of when it was created. Any help would be
    great! thanks. mate
    mate Guest

  2. Similar Questions and Discussions

    1. fms core backwards time stamp
      I am getting constant errors regarding 'backward timestamps' that crash fms core. I have seen the thread that suggests disabling time synchs as a...
    2. Time/Date Stamp on Note
      Is there a way to turn off the time/date stamp on the Notes feature in Acrobat 5.0?
    3. Automatically adding date/time stamp to an edited record
      To record just the date/time the record was created: Add a new Date/Time field to your table, and set its Default Value property to: =Now() To...
    4. time stamp
      Good Luck! There is no way that I can conceive of in Access to link _part_ _of_ an entry in a field with another field or record in the way that...
    5. Date and Time stamp
      Without knowing what code/expressions/setup you're using, I would guess that the references on the Win 95 PCs are missing some library. Open up...
  3. #2

    Default Re: Time Stamp on a record

    Try setting the Before Update event of the sub form:

    If IsNull([DateField]) then
    [DateField] = Now
    End If

    --
    Fred

    Please reply only to this newsgroup.
    I do not reply to personal e-mail.


    "mate" <matt@artcraftpromos.com> wrote in message
    news:0edc01c351f2$51974730$a301280a@phx.gbl...
    > I have a subform within a form. When a user creates a new
    > record in the subform, I would like to have the date/time
    > automatically stamped on that record at the time of
    > creation. I've tried doing this, but whenever i access
    > that record at a later time, it shows up with the current
    > time instead of when it was created. Any help would be
    > great! thanks. mate

    Fredg Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139