T
Terrence Carroll
I have a question about how to update an audit date field for third party
timecards. I did have a question about updating an audit date field tied to
one combo box yesterday and was able to get a workable solution with a Select
Case statement relatively quickly. However, today I need to update an audit
date field to the current date based upon properties or values entered in
several controls. For instance if the hours in our system match the hours on
our a third party providers time card I have a check box indicating "Hours
Match." If Hours Match is checked I want the Audit Date to equal todays
date. Also if the timesheet is missing, I have a check box for "Timesheet
Missing." If Timesheet Missing is checked I want the Audit Date to equal
todays date. I also have two text fields that show hours in the third party
system. If either of these two text fields are populated, I would like the
Audit Date to equal the current date. Once the audit date is populated I
would like the audit date field to be disabled. If all of the controls
mentioned above are null I would like the audit field to be null. What would
the best way to accomplish this be? Should I do a command button or should I
use the after update event on each control to update the audit status. I am
unsure how to code this and where the best place to put the code would be.
Any help you could provide would be great.
Thanks,
Terry Carroll
timecards. I did have a question about updating an audit date field tied to
one combo box yesterday and was able to get a workable solution with a Select
Case statement relatively quickly. However, today I need to update an audit
date field to the current date based upon properties or values entered in
several controls. For instance if the hours in our system match the hours on
our a third party providers time card I have a check box indicating "Hours
Match." If Hours Match is checked I want the Audit Date to equal todays
date. Also if the timesheet is missing, I have a check box for "Timesheet
Missing." If Timesheet Missing is checked I want the Audit Date to equal
todays date. I also have two text fields that show hours in the third party
system. If either of these two text fields are populated, I would like the
Audit Date to equal the current date. Once the audit date is populated I
would like the audit date field to be disabled. If all of the controls
mentioned above are null I would like the audit field to be null. What would
the best way to accomplish this be? Should I do a command button or should I
use the after update event on each control to update the audit status. I am
unsure how to code this and where the best place to put the code would be.
Any help you could provide would be great.
Thanks,
Terry Carroll