Microsoft
Software
Hardware
Network
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
Update SSIS Data Flow Column Using Data From CSV file
Search form
Why does GetModuleFileName return long names sometimes, and mangled names sometimes (WinNT)?
How to supress 'Access denied' when copy/replace file in the System folder using Command Prompt
Complicated Select & Insert statement - MS SQL 2008
AD Login Script not working on Windows 7 - but will run locally from same computer
Call NetMessageBufferSend function from vb.net
Repadmin to verify replication?
IE8 home page is being forced to google.co.uk
Set Font For Workbook or Worksheet Through VBA