Trevor G
Registered User.
- Local time
- Today, 22:46
- Joined
- Oct 1, 2009
- Messages
- 2,367
How can I update a record in a table through a form event when the initial form of the database is opened, which is not bound to anything.
Form name is frmStart, the table to update is
Table Name is quotations
Field to check is quotation_status
If the status shows "Pending" then change to "Quotation_Expired" if a field named "Pending_Date" is less than 30 days from today.
I basically have a list of quotations that when the database is opened I need the status to be updated before someone looks to activate and work on the records.
Status will sometimes change when qoutations are inactive, so using dates sometimes is necessary, if a date period elapses and nothing has happened.
Form name is frmStart, the table to update is
Table Name is quotations
Field to check is quotation_status
If the status shows "Pending" then change to "Quotation_Expired" if a field named "Pending_Date" is less than 30 days from today.
I basically have a list of quotations that when the database is opened I need the status to be updated before someone looks to activate and work on the records.
Status will sometimes change when qoutations are inactive, so using dates sometimes is necessary, if a date period elapses and nothing has happened.