S
Stephen Lynch
Upgraded access to 2002 and I cannot get this to work. Basically I have
about 10 queries that run when I first open my database so, I wrote this to
check the date that I updated the table and if it is today then maximize the
startup form and not run all of the queries. I open the database multiple
times a day and do not want to wait for the queries to rerun.
Can anyone help me. I search and I think that now it support ado and this is
dao or something like that.
Here's what use to work:
If Format(DBEngine(0)(0).TableDefs("MasterHoldings").Properties(2), "Short
Date") = Format(Now(), "Short Date") Then
DoCmd.Maximize
Else
Run my queries
Thanks in advance
Steve
about 10 queries that run when I first open my database so, I wrote this to
check the date that I updated the table and if it is today then maximize the
startup form and not run all of the queries. I open the database multiple
times a day and do not want to wait for the queries to rerun.
Can anyone help me. I search and I think that now it support ado and this is
dao or something like that.
Here's what use to work:
If Format(DBEngine(0)(0).TableDefs("MasterHoldings").Properties(2), "Short
Date") = Format(Now(), "Short Date") Then
DoCmd.Maximize
Else
Run my queries
Thanks in advance
Steve