Lebans Calander in ADP

R

Rudi Groenewald

Hi Guys...


I'm trying to integrate the Lebans calendar into my project. I downloaded
the Lebans access 2000 demo and imported into my ADP file, the first thing
they tell you is to compile the code as it is, but when I that I get an
error stating:

Compile Error

Variable not defined:

At line: 798, Col 1

SetProperty "MultiSelect", dbLong, m_MultiSelect


This has been compiled within a new ADP file, with no other programming or
forms or anything, only the 5 modules imported... any ideas?

Thanks alot in advance
Rudi Groenewald
 
B

Brendan Reynolds

Well, dbLong is a member of the DAO library, and an ADP will not, by
default, have a reference to that library. You could try adding the
reference (Microsoft DAO 3.6 Object Library).

--
Brendan Reynolds (MVP)
http://brenreyn.blogspot.com

The spammers and script-kiddies have succeeded in making it impossible for
me to use a real e-mail address in public newsgroups. E-mail replies to
this post will be deleted without being read. Any e-mail claiming to be
from brenreyn at indigo dot ie that is not digitally signed by me with a
GlobalSign digital certificate is a forgery and should be deleted without
being read. Follow-up questions should in general be posted to the
newsgroup, but if you have a good reason to send me e-mail, you'll find
a useable e-mail address at the URL above.
 
D

Douglas J. Steele

It might be simpler just to determine what constants he's missing from the
library and defining them in his program.
 
B

Brendan Reynolds

Perhaps. I'm not familiar with Stephen's calendar, and therefore not sure
whether it may have other dependencies on DAO in addition to the constants?

--
Brendan Reynolds (MVP)
http://brenreyn.blogspot.com

The spammers and script-kiddies have succeeded in making it impossible for
me to use a real e-mail address in public newsgroups. E-mail replies to
this post will be deleted without being read. Any e-mail claiming to be
from brenreyn at indigo dot ie that is not digitally signed by me with a
GlobalSign digital certificate is a forgery and should be deleted without
being read. Follow-up questions should in general be posted to the
newsgroup, but if you have a good reason to send me e-mail, you'll find
a useable e-mail address at the URL above.
 
R

Rudi Groenewald

Thanks, that worked :)

Rudi Groenewald

Brendan Reynolds said:
Well, dbLong is a member of the DAO library, and an ADP will not, by
default, have a reference to that library. You could try adding the
reference (Microsoft DAO 3.6 Object Library).

--
Brendan Reynolds (MVP)
http://brenreyn.blogspot.com

The spammers and script-kiddies have succeeded in making it impossible for
me to use a real e-mail address in public newsgroups. E-mail replies to
this post will be deleted without being read. Any e-mail claiming to be
from brenreyn at indigo dot ie that is not digitally signed by me with a
GlobalSign digital certificate is a forgery and should be deleted without
being read. Follow-up questions should in general be posted to the
newsgroup, but if you have a good reason to send me e-mail, you'll find
a useable e-mail address at the URL above.
 
R

Rudi Groenewald

Me Again...


Thanks the calendar works, but now i've got another problem.

When you change settings, like where the window should, fonts, colours....
etc etc, it only keeps those settings until you close the application. When
you open it again, all the settings are reset.... please help

Thanks in advance
Rudi
 
B

Brendan Reynolds

Sorry, as I said earlier, I'm not familiar with Stephen's calendar - anyone
else?

--
Brendan Reynolds (MVP)
http://brenreyn.blogspot.com

The spammers and script-kiddies have succeeded in making it impossible for
me to use a real e-mail address in public newsgroups. E-mail replies to
this post will be deleted without being read. Any e-mail claiming to be
from brenreyn at indigo dot ie that is not digitally signed by me with a
GlobalSign digital certificate is a forgery and should be deleted without
being read. Follow-up questions should in general be posted to the
newsgroup, but if you have a good reason to send me e-mail, you'll find
a useable e-mail address at the URL above.
 
S

Stephen Lebans

I have not used ADP's extensively. The MonthCalendar was designed to
store its Custom props via DAO within the MDB. It sounds like custom
database props are handled differently in ADP's.

I've been meaning to modify the method I use to store User settings but
am having too much fun this summer and have not programmed at all!
:)

--

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

Rudi Groenewald

Hehe aaaah ok,

Enjoy ur summer man, :p

Will you be able to get a look at it some time though? I really wanna use
that calendar, but if it can't store settings, then I dunno what I'll do :(

Thanks
Rudi
 

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