Avatar of Fordraiders
Fordraiders
Flag for United States of America

asked on 

Looking at dates and updating records in table

Access 2010 vba
vba routine needed.

What I have:
Table - called "MyData"
Fields-  "Record_ID" ,  "Status" , "Open_Date",  "Closed_Date"

What I need:

I need a routine that will look at the table("MyData" )  for a ("Status" =  "In_Progress") and ("Closed_Date" = "")
Then take the "Open_Date" value and check to see if it is 10 workings or more old.

If it is
I need to change the "Status" for that record to  "Closed"
AND
ADD A value to ("Closed_Date" = Now() )


Thanks
fordraiders
Microsoft AccessVBA

Avatar of undefined
Last Comment
Fordraiders

8/22/2022 - Mon