I started working on Access and programmed the normal way, making the following declaration:<br>
<br>
Dim Rst as Database<br>
<br>
Further on I have a statement:<br>
Me!txtTime = Date<br>
<br>
When I compile the module, both lines result in the error:<br>
Compile error: can't find project or library<br>
<br>
And when I click OK, it brings up "available references" with a list of DLL's and OCX's etc.<br>
<br>
Which ones are the correct DLL's for the Database object, and the Date function (or does the problem lie with the Access' setup) ?<br>
(I found that the Now function works, but would like to know the answer for Date in any case!)
<br>
Dim Rst as Database<br>
<br>
Further on I have a statement:<br>
Me!txtTime = Date<br>
<br>
When I compile the module, both lines result in the error:<br>
Compile error: can't find project or library<br>
<br>
And when I click OK, it brings up "available references" with a list of DLL's and OCX's etc.<br>
<br>
Which ones are the correct DLL's for the Database object, and the Date function (or does the problem lie with the Access' setup) ?<br>
(I found that the Now function works, but would like to know the answer for Date in any case!)