Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Some help with events
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Some help with events

 Post Reply Post Reply
Author
joshb View Drop Down
Groupie
Groupie


Joined: 26 June 2002
Location: United States
Status: Offline
Points: 134
Post Options Post Options   Thanks (0) Thanks(0)   Quote joshb Quote  Post ReplyReply Direct Link To This Post Topic: Some help with events
    Posted: 16 September 2003 at 6:54pm

I am adding some features to a Sales claendar at work.

One of the things I am trying to add is recurring events. But as always I am running into a brick wall.

My question is this. My idea is, on recurring events to write out an event record according to date span, but this could be potentially bad. I mean if someone says everyday I want an event on my calendar for the next 3 years to remind me to get the paper, it would potentially add about 1,000 records to the events table. Now 1,000 records isn't bad, but I can see the count getting big quickly. Also if the person goes back in later and says now I only want to be reminded on Monday and Tuesdays only, I would either have to go in and check all the events already added and delete the ones that don't fit or delete all and then re-add the new events.

I thought of having all the info in 1 record and then doing some vbscript to see if an event needs to show up in other places, but it doesn't seem as exact as having a record for each event.

I would like someones opinion about how to set this up. Thanks in advance for your help and speedy reply.

I'm a wannabe programmer that knows how to do nothing but create invalid procedure arguments.
Back to Top
3BEPb View Drop Down
Groupie
Groupie


Joined: 07 August 2003
Location: United States
Status: Offline
Points: 81
Post Options Post Options   Thanks (0) Thanks(0)   Quote 3BEPb Quote  Post ReplyReply Direct Link To This Post Posted: 17 September 2003 at 12:20am

In this case I will go with at least 2 tables. First with the event description and second - to set events' details, like:

EventID (reffers to the first table' event ID)
Date Start
Date End
Time
Periodicity (daily, mondays only, etc. Or just create 7 boolean columns for each day of week and check them if event is applicable for this day of week)



Edited by 3BEPb
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.