This topic is locked

Date fields updating

2/14/2007 12:02:40 AM
ASPRunnerPro General questions
B
bburden author

I have a little situation with some date fields. I have 3 fields:

  1. is called Date Entered - this is the actual date the record is entered.
  2. is called Date of Finding - this is the date the event actually happened.
  3. is just a Date field - this field need to have the same value as DateofFinding without having to type it twice in ASP if that is possible? Can I just do an EVENT as after update that will pull date into a Date text box on the add screen so when it get in Access it show the same date as Dateof finding instead of the date entered?
    I hope this make sense. I know they can just type the DateofFinding date twice but would be easier if it can just be generated into another field automatically.
    Thanks

Sergey Kornilov admin 2/15/2007

Something like this will work in BeforeAdd/BeforeEdit events:

dict("DateField") = dict("DateofFinding")
B
bburden author 2/20/2007

Something like this will work in BeforeAdd/BeforeEdit events:

dict("DateField") = dict("DateofFinding")


Thanks Sergey, as always you brought me out. Have a great week.
Brenda <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=15700&image=1&table=forumreplies' class='bbc_emoticon' alt=':D' />