Question : determine if an Access DB (.mdb) is being opened for the first time on any given day

Hello Experts,

I need to check each time a Access DB is opened and determine if this is the first time it has been opened today, if yes then I need to run some query, if no then I just want it to open as it normally should. DB does not use userid/pwd. Thanks for your help!

Answer : determine if an Access DB (.mdb) is being opened for the first time on any given day

create a table tblLog with a field Date/Time
check the field content if equals Today date if not, run the query, then update the field with todays date
Random Solutions  
 
programming4us programming4us