Like a References problem, usually caused by differences between file
versions on the machine where the database was developed and the user's
machine.
Open any code module, then select Tools | References from the menu bar.
Examine all of the selected references.
If any of the selected references have "MISSING:" in front of them, unselect
them, and back out of the dialog. If you really need the reference(s) you
just unselected (you can tell by doing a Compile All Modules), go back in
and reselect them.
If none have "MISSING:", select an additional reference at random, back out
of the dialog, then go back in and unselect the reference you just added. If
that doesn't solve the problem, try to unselect as many of the selected
references as you can (Access may not let you unselect them all), back out
of the dialog, then go back in and reselect the references you just
unselected. (NOTE: write down what the references are before you delete
them, because they'll be in a different order when you go back in)
--
Doug Steele, Microsoft Access MVP
(no e-mails, please!)
aMack said:
Works great except:
On some users pc's we get a Compile Error: the "Date" is highlighted and
the
error reads "can't find project or library".
Any suggestions.
--
A MACKENZIE, CMA, MBA
Albert D. Kallal said:
the actual steps would be:
open the form in design mode.
Select the form
edit->select form
Now, display the properties sheet for the form (if not displayed already)
view->properties
Now, click on the properties sheet "events" tab
click on the "on load" event to highlight that option.
Note to the right...you see a button appear with ... dots...it looks like
[...]
Click on this button...you usually get 3 choices
choose code....
Now, in the code editor, type in your code
me.NameOfCalendarContorlgoesHere.Value = date
That is it....one line of code....
You of couse change the above contorl name to what you used for the
contorl....