I have a data entry form with a few fields and 2 drop downs.
The fields are as follows:
Box #
Contents
Content Date - Date Field
Department - Lookup from Dept Table
Doc Type - Lookup from DocType Table, only recs matching Dept.
Destroy Date - Date Field
The first drop down pulls data from a table and the second drop selections are pre-populated depending on the selection in the first drop down.
The Doc Type table would look something like this:
| ID | Deptartment | DocType | DaystoKeep |
What I'm trying to do is populate the Destroy Date field with the "Content Date" + "Daystokeep", located in the same recordset as the selected doc type. I'm trying to calculate this on the lost focus event of Doc Type. That way the user can update the date if need be. Any ideas?
Thanks -
Seajay

The fields are as follows:
Box #
Contents
Content Date - Date Field
Department - Lookup from Dept Table
Doc Type - Lookup from DocType Table, only recs matching Dept.
Destroy Date - Date Field
The first drop down pulls data from a table and the second drop selections are pre-populated depending on the selection in the first drop down.
The Doc Type table would look something like this:
| ID | Deptartment | DocType | DaystoKeep |
What I'm trying to do is populate the Destroy Date field with the "Content Date" + "Daystokeep", located in the same recordset as the selected doc type. I'm trying to calculate this on the lost focus event of Doc Type. That way the user can update the date if need be. Any ideas?
Thanks -
Seajay