# Servoy Calendar

**URL:** <https://forum.servoy.com/t/servoy-calendar/801>\
**Category:** Classic Servoy\
**Created:** [December 3, 2003, 9:16am UTC](https://forum.servoy.com/t/servoy-calendar/801 "2003-12-03T09:16:49Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [December 3, 2003, 9:16am UTC](https://forum.servoy.com/t/servoy-calendar/801/1 "2003-12-03T09:16:49Z")

</div>

I want to let you show, what you can do in Servoy!  
Even calendaring is possible!  
I can’t give it for free, because my client has paid for this feature and we have a huge amount of time in it. So, here are some screenshots  
In a few weeks, it will be commercialy available.  
If you are interested, please mail us.

---

<div class="post-metadata">

**Author:** ![edward](https://avatars.discourse-cdn.com/v4/letter/e/90db22/32.png) [@edward](https://forum.servoy.com/u/edward)\
**Post date:** [December 3, 2003, 10:10am UTC](https://forum.servoy.com/t/servoy-calendar/801/2 "2003-12-03T10:10:20Z")

</div>

AWESOME!

We LOVE to see examples of how you guys are using the software and this is Great work!

Keep it up! ![:D]( "Very Happy")

---

<div class="post-metadata">

**Author:** ![Tony\_Adrian](https://avatars.discourse-cdn.com/v4/letter/t/e36b37/32.png) [@Tony\_Adrian](https://forum.servoy.com/u/Tony_Adrian)\
**Post date:** [December 3, 2003, 11:55am UTC](https://forum.servoy.com/t/servoy-calendar/801/3 "2003-12-03T11:55:12Z")

</div>

Drag & Drop in this context is of great interest to us.

---

<div class="post-metadata">

**Author:** ![david](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@david](https://forum.servoy.com/u/david)\
**Post date:** [December 5, 2003, 3:29am UTC](https://forum.servoy.com/t/servoy-calendar/801/4 "2003-12-05T03:29:01Z")

</div>

I love it! Good going.

---

<div class="post-metadata">

**Author:** ![chris](https://avatars.discourse-cdn.com/v4/letter/c/958977/32.png) [@chris](https://forum.servoy.com/u/chris)\
**Post date:** [January 9, 2004, 7:02am UTC](https://forum.servoy.com/t/servoy-calendar/801/5 "2004-01-09T07:02:11Z")

</div>

Is drag and drop possible in this solution?

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [January 9, 2004, 7:10am UTC](https://forum.servoy.com/t/servoy-calendar/801/6 "2004-01-09T07:10:41Z")

</div>

nope, simply because Servoy does not support drag & drop in this situation.  
I am almost finished, with a neat trick, that almost simulates (more or less) drag and drop. Later on, you can click on a appointment. A little pop-up comes up, where you can change the time and date. If you leave the pop-up the Calendar is instantly updated.

---

<div class="post-metadata">

**Author:** ![chris](https://avatars.discourse-cdn.com/v4/letter/c/958977/32.png) [@chris](https://forum.servoy.com/u/chris)\
**Post date:** [January 9, 2004, 2:50pm UTC](https://forum.servoy.com/t/servoy-calendar/801/7 "2004-01-09T14:50:28Z")

</div>

great, look forward to seeing it

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [January 21, 2004, 1:14pm UTC](https://forum.servoy.com/t/servoy-calendar/801/8 "2004-01-21T13:14:27Z")

</div>

**PLEASE LOOK BELOW FOR A NEW VERSION!**

here it is, the first release of what I called: Calendar Tool.

Use it only in Servoy 2.0 rc2 (because this release solves some date-related issues)

Place the calendar.gdb in your database-folder  
make in Servoy a standard Firbird-database with the name: Calendar and pointed to: calendar.gdb (BTWthis gdb only works for windows PC!)  
You can use an empty database too, but than you have to fill it on your own.

Now import in Servoy: Calendar.servoy

BTW this is protected solution. If you want the unlocked version, so you can implement this in your own solution, for EURO 199,- it is all yours!  
Please let me know.

In the 1 Week view, you can click on a appointment en a little popup appears. Here you can instantly change things, like date or times. If you click on the close-button, the calendar is updated.  
The Calendar is also multi-user now! You can add as many users as you want. Every user has his own Calendar.

Good luck.  
Greeting HJK

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [February 6, 2004, 8:22am UTC](https://forum.servoy.com/t/servoy-calendar/801/9 "2004-02-06T08:22:10Z")

</div>

It is a bit quiet here!  
Do you guys (or woman! ![:lol:]( "Laughing") ) like it?  
does it work properly?  
Do you want to see enhancements?

All comments are welcome!

Bye!

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [February 6, 2004, 8:29am UTC](https://forum.servoy.com/t/servoy-calendar/801/10 "2004-02-06T08:29:07Z")

</div>

Hi Harjo,

I donwloaded it and imported it.

I must say that I had trouble using it. Got various error, reactions of Servoy to actions (press button etc) took very long etc. Maybe something went wrong with the import or something.

Since it is not something I would be using, because I do not have the need for it, I didn’t investigate further…

Paul

---

<div class="post-metadata">

**Author:** ![Riccardino](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@Riccardino](https://forum.servoy.com/u/Riccardino)\
**Post date:** [February 6, 2004, 9:01am UTC](https://forum.servoy.com/t/servoy-calendar/801/11 "2004-02-06T09:01:23Z")

</div>

> HJK:  
> It is a bit quiet here!  
> Do you guys (or woman! :lol: ) like it?  
> does it work properly?  
> Do you want to see enhancements?
> 
> All comments are welcome!
> 
> Bye!

I’d love to test it, but it has problems related (I think) to Firebird non-crossplatform format (I work on OSX): so I can’t open it…

Do you have the chance to create the database under OSX and release them?

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [February 6, 2004, 9:06am UTC](https://forum.servoy.com/t/servoy-calendar/801/12 "2004-02-06T09:06:12Z")

</div>

You don’t have to.  
just copy an empty database from empty.gdb to calendar.gdb

and than do the import.  
1.)After import, go first to layout: Calendar and create (manually) one record.  
2. Goto Layout: Users. Create here one user, with a name!  
3. Goto Layout: Appointments. Create here an appointment for that user.  
4. Goto Layout: Calendar. to see the appointment in the calendar  
Voilah!

BTW: Please try it in a Servoy Client too! This has much less overhead!

---

<div class="post-metadata">

**Author:** ![tweetie](https://avatars.discourse-cdn.com/v4/letter/t/c68b51/32.png) [@tweetie](https://forum.servoy.com/u/tweetie)\
**Post date:** [February 8, 2004, 6:42pm UTC](https://forum.servoy.com/t/servoy-calendar/801/13 "2004-02-08T18:42:48Z")

</div>

I did all you said:  
-created DB  
-created DB connection  
-imported solution  
-created 1 record in calendar  
-created 1 user  
-created 2 appoitnments  
-went to calendar…and I saw nothing  
-and it gave an javascripterror in agendaboekingtm:  
Exception executing agendaboeking: Cannot convert null to an object.

Further…it looks great…and I probably need 1 to work on OSX and Windows

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [February 8, 2004, 6:52pm UTC](https://forum.servoy.com/t/servoy-calendar/801/14 "2004-02-08T18:52:10Z")

</div>

Do you have selected the right user in the Calendar-view in the big-yellow-field?

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [February 9, 2004, 9:21am UTC](https://forum.servoy.com/t/servoy-calendar/801/15 "2004-02-09T09:21:22Z")

</div>

See the latest message in this topic!!

Hello guys. here is a new version of the Calendar Tool.  
when I upgraded to RC3, I too ,faced a lot of errorsn when I tried to start it. There was a change in Servoy related to globals and fields with the same name. Now I have fixed that.

Place the calendar.gdb in your database-folder  
make in Servoy a standard Firbird-database with the name: Calendar and pointed to: calendar.gdb (BTWthis gdb only works for windows PC!)  
You can use an empty database too, but than you have to fill it on your own.

Now import in Servoy: Calendar.servoy

Please let me know what you think.

---

<div class="post-metadata">

**Author:** ![tweetie](https://avatars.discourse-cdn.com/v4/letter/t/c68b51/32.png) [@tweetie](https://forum.servoy.com/u/tweetie)\
**Post date:** [February 9, 2004, 6:05pm UTC](https://forum.servoy.com/t/servoy-calendar/801/16 "2004-02-09T18:05:34Z")

</div>

The calendar now works…and it looks great…

But I get this error:

Switch to design mode to fix the problem in this relation(s):  
Warning: Relation ‘agenda\_to\_boekingen36’ has mismatched keys  
Key type from globals.user does not match with type from boekingvan

Also an error in calculation agendaboekingtm:  
Exception executing agendaboekingtm: Cannot convert null to an object.

I use Servoy Developer  
Version R2 2.0 rc3-build 263  
Java version 1.4.2\_02-b03 (Windows 2000)

and did all the steps as prescribed…

tweetie

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [February 9, 2004, 7:01pm UTC](https://forum.servoy.com/t/servoy-calendar/801/17 "2004-02-09T19:01:18Z")

</div>

Yes, I saw that one too!  
I have fixed this and put in a next-release (this week, I hope!)

the other error: appears only in the left-corner, right?  
I’ll do a calculation and sometimes a value in the calculation contains null.  
I can’t prevent this.

---

<div class="post-metadata">

**Author:** ![Ron](https://avatars.discourse-cdn.com/v4/letter/r/ecae2f/32.png) [@Ron](https://forum.servoy.com/u/Ron)\
**Post date:** [February 9, 2004, 10:22pm UTC](https://forum.servoy.com/t/servoy-calendar/801/18 "2004-02-09T22:22:14Z")

</div>

Hi Harjo,

Downloaded your Calender solution.  
Looks fine, but I find it rather slow.  
Switching from 1 week view to 2 week view or monthview takes about half a minute. How long is this supposed to take?. Is there something wrong with my box?.  
I know from FM Calendars that there is quite a calculation going on behind the screens, but this long…  
Plse let me know.

Best Regards,

Ron

(WinXP Pro / Athlon 2200+ / FB /Servoy2RC3)

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [February 9, 2004, 10:25pm UTC](https://forum.servoy.com/t/servoy-calendar/801/19 "2004-02-09T22:25:27Z")

</div>

No, there must be something wrong.  
I have pIV 2.0 GHZ and it takes about 1 second to switch  
the first time, sometimes ,takes about 3 seconds.

Did you download the latest? (the one with the error in relation 36? ![:o]( "Surprised") )  
I noticed too, that sometimes when you load a solution in Developer and switch to another form, that this taking about 20 a 30 seconds!

this has nothing to do, with this solution. If you go back to one week en back to 2 weeks, is this taking so long too?

Please try it in Servoy Client too! This has much less overhead!

---

<div class="post-metadata">

**Author:** ![Riccardino](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@Riccardino](https://forum.servoy.com/u/Riccardino)\
**Post date:** [February 13, 2004, 2:21pm UTC](https://forum.servoy.com/t/servoy-calendar/801/20 "2004-02-13T14:21:03Z")

</div>

> HJK:  
> Please try it in Servoy Client too! This has much less overhead!

I also have several problems (I use OSX):  
the agenda doesn’t create all the days in the week, but only the first (monday).  
If I click on the other dates, I get an dd-MMM-yyyy and, on the dayname box, an EEEE.  
I tried creating appointments in the missing days, but they’re not displayed.

Also, if I try to click on the appo, I get this message  
“agenda\_to\_boekingen” is not defined.  
And, when opening the solution:  
ERROR IN RELATIONs  
Switch to design mode to fix the problem in this relation(s):

Warning: Relation ‘agenda\_to\_boekingen36’ has mismatched keys  
Key type from globals.user does not match with type from boekingvan

I hope this helps you: I’d like to test it as soon as possible 🙂

[Next page](https://forum.servoy.com/t/servoy-calendar/801.md?page=2)
