Leban's Month Calendar

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

I am a newby at development. I have downloaded Leban's
Month Calendar control for Access 2000. The demo databse
has the form working great, however when I try to copy
the field and double click on the field to bring up the
calendar control, I get a error message: " Compile Error:
ByReg argument type mismatch". I click OK and in code
section the mc is highlighted blue. Has anyone seen
this? Is there a class that needs to be installed or
something that I missed? I am running Access 2002 on
Windows XP.
 
You have to import all of the Class and Code modules from the sample MDB
you downloaded into your own MDB.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Thank you for the step by steps. That helped out.
However, when I click I try to open the form after making
those changes I now get the following error:
Compile error:
User-defined type not defined
I click ok and the
Dim db as DAO.databse field is highlighted

In your instructions you talked about compiling my db. I
am sorry for being so ignorant of this, but how do you
compile a access db? I have never done that.

Again, thanks for the help
 
Thank you for replying sir.
I have imported the modules like you suggested.
However, I get a error when I try to compile that
highlights dblong and gives a error message saying
variable not defined.
Any idea on this one?
 
Thank you for the step by steps. That helped out.
However, when I click I try to open the form after making
those changes I now get the following error:
Compile error:
User-defined type not defined
I click ok and the
Dim db as DAO.databse field is highlighted

Add a reference (in VB Editor, click Tools -> References...) to
Microsoft DAO 3.6 Object Library.
 
THANK YOU EVERYONE FOR ALL YOUR HELP
I was ble to get this great little tool working. Saves
me a ton of time.
 
Good to hear Jeff.

On your compile question, go to any code window and look
for an option on the menu bar that says "Debug." Click
there and below it there should be an option that
says "Compile...(name of your database)"

This will check all of your code for errors and notify you
of any problems. It is a good habit to compile your code
after you make any code changes.

Jeff Conrad
Bend, Oregon
 
Back
Top