i have a client who's database requires users to enter the beginning
date and ending date for contracts. i would like to create a vba
function that checks the end date w/ the now() function (from what i've
gathered) and updates the status field with "Expired" if the end date
has passed. can i have this function run when the form opens, or a
report is run, so it loops through the entire table and adjusts these
fields as necessary? how should i code it?
any help with this would be greatly appreciated.
thanks,
dan
date and ending date for contracts. i would like to create a vba
function that checks the end date w/ the now() function (from what i've
gathered) and updates the status field with "Expired" if the end date
has passed. can i have this function run when the form opens, or a
report is run, so it loops through the entire table and adjusts these
fields as necessary? how should i code it?
any help with this would be greatly appreciated.
thanks,
dan
Comment