Re: Startup Question based on date
From: Ken Snell [MVP] (kthsneisllis9_at_ncoomcastt.renaetl)
Date: 02/17/05
- Next message: David C. Holley: "Re: Commas in list box items"
- Previous message: Stephen Lynch: "Startup Question based on date"
- In reply to: Stephen Lynch: "Startup Question based on date"
- Next in thread: Stephen Lynch: "Re: Startup Question based on date"
- Reply: Stephen Lynch: "Re: Startup Question based on date"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 17 Feb 2005 00:22:38 -0500
Assuming that you upgraded from ACCESS 97, then you need to set a reference
to DAO library in your ACCESS 2002 database. In Visual Basic Editor window,
click Tools | References and select Microsoft Data Access Objects (DAO) v3.x
from the list.
--
Ken Snell
<MS ACCESS MVP>
"Stephen Lynch" <raider1raider@yahoo.com> wrote in message
news:RfUQd.80787$bu.52468@fed1read06...
> 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
>
- Next message: David C. Holley: "Re: Commas in list box items"
- Previous message: Stephen Lynch: "Startup Question based on date"
- In reply to: Stephen Lynch: "Startup Question based on date"
- Next in thread: Stephen Lynch: "Re: Startup Question based on date"
- Reply: Stephen Lynch: "Re: Startup Question based on date"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|