Lebans Calendar, is this a bug??

A

Ayala

-----Original Message-----
A couple of thoughts:

The Calendar class requires a reference to DAO not ADO. Further if you
are using ADO within your own code then the DAO reference must be ABOVE
the ADO ref.

All of the Calendar Class and Code modules must reside within the
Frontend for each user.
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.




.



Yap the class and code modules are in the Frontend for
each user.
I need ADO in my code, I tried changing DAO reference
above ADO. The situation was still the same.
I returned ADO before DAO.
I had the date text boxes with default value set to Date
(), I want to remember you that the Calendar worked
excellent in my computer. I decided to remove the default
value. Then I made again the MDE for the users and work
perfect in their pc's too.
So, DAO wasn't above ADO but the txtboxes shouldn't have a
default value.
But if there was a "bug" that txtboxes shouldn't have a
default value why it was working in my computer with
default value set??
 
S

Stephen Lebans

There is no bug in regards to this issue with my code and I would
appreciate it if you would stop making public statemments to that
effect. The code clearly works properly with a TextBox control passing
the default Date for the Calendar. As you stated the sample code works
correctly, your own implementation works correctly but you ran into a
problem during distribution of your app as an MDE.

There are two possible issues here:

1) A general References issue. Even though the issue appears to be
directly pointing to the call to the "Date()" function it is really a
Reference issue. Take a minute to read up on the single most reoccuring
issue within the Access development environment.
http://members.rogers.com/douglas.j.steele/AccessReferenceErrors.html

2) Did you at one time or do you currently have a TextBox control on
this Form that was bound to a field named "Date"?
I have seen this behaviour recently from another user. It has absolutely
nothing to do with my code.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
G

Guest

I didn't mean to make any public statement about your
code. If you read the Subject is just a question. I really
think your calendar is great and for me was pretty strange
that worked just by eliminating the default value. Sorry
if I annoyed you.
Thank you for the reading reccomendation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top