473,388 Members | 1,198 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Best way to build a recurrent days...

I am trying to build a room reservation system for our church. The
problem is, some events happen on a weekly basis, other adhocs. What
is the best way inquire for data and then display them? i.e. I don't
want to ask users to enter the recurrent event every week in a year,
is there a way to build a select... The tough part is, if one week out
of the 52 weeks certain group is not using a certain room (which they
normally use weekly), How can this be overided, just for that week?

Thanks in advance,
Perry
Nov 12 '05 #1
3 1696
PerryC wrote:
I am trying to build a room reservation system for our church. The
problem is, some events happen on a weekly basis, other adhocs. What
is the best way inquire for data and then display them? i.e. I don't
want to ask users to enter the recurrent event every week in a year,
is there a way to build a select... The tough part is, if one week out
of the 52 weeks certain group is not using a certain room (which they
normally use weekly), How can this be overided, just for that week?

Thanks in advance,
Perry

I've got a similar "recurrance" in a system for my church (pastoral care
tracking for large churches).

One way is to create seperate records for each occurance that link back
to the initial record (which contains start/end/period). You could then
just delete any that are not needed anymore. When clicking on a date it
would show all the occurances so you can edit them, move one, delete
another etc.

The problem then is what if you have an open-ended recurrance? With this
you could create records for all the occurances for a certain time in
the future and create more occurances on your startup code to always
keep it a year for example in the future.

I'm sure there are other ways though :)
--
regards,

Bradley
Nov 12 '05 #2
On 21 Apr 2004 20:07:54 -0700, pe******@yahoo.com (PerryC) wrote:

For these situations I always speculate how Outlook does this. It
supports recurring appointments (appt), and you can delete one appt or
all.

One way we once implemented this is by having a Master record that was
the first one created:
ID=123, ApptDate=1/1/2004, ApptTime=7PM-8PM, Recurrence=every week

When starting the app, the startup code would ensure we had N years of
appts scheduled. Each one carried the MasterID (null for single appt),
which allowed us to easily wipe out the whole (future) series if
needed.

-Tom.
I am trying to build a room reservation system for our church. The
problem is, some events happen on a weekly basis, other adhocs. What
is the best way inquire for data and then display them? i.e. I don't
want to ask users to enter the recurrent event every week in a year,
is there a way to build a select... The tough part is, if one week out
of the 52 weeks certain group is not using a certain room (which they
normally use weekly), How can this be overided, just for that week?

Thanks in advance,
Perry


Nov 12 '05 #3
Yes, something like Outlook or any other Calender is what I am after.
What you have suggested I actually implemented in the past... but it is
not exactly like Outlook. I was wondering if anyone has something like
that built?

PC

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: ruthless | last post by:
hello. i've got a question can i in XML Schema define tag that works as lists knows from e.g. C,C++ - recurrent tags? i'm talking about e.g. genealogical tree every level of this tree is...
4
by: | last post by:
Developing, building, and testing. How do it the best? Learning from the world leader - Microsoft I'm very interested in how the developing/build/testing workflow @ Microsoft looks like. I...
11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
3
by: PerryC | last post by:
I am trying to build a room reservation system for our church. The problem is, some events happen on a weekly basis, other adhocs. What is the best way inquire for data and then display them? ...
1
by: Zack Sessions | last post by:
This topic has been discussed a few times. It looks to me that one of the easiest ways to determine this is by deconstructing the Assembly Version's Build and Revision numbers. A previous thread...
35
by: Alex Martelli | last post by:
Having fixed a memory leak (not the leak of a Python reference, some other stuff I wasn't properly freeing in certain cases) in a C-coded extension I maintain, I need a way to test that the leak is...
6
by: Mudcat | last post by:
Hi, I am trying to build a tool that analyzes stock data. Therefore I am going to download and store quite a vast amount of it. Just for a general number - assuming there are about 7000 listed...
11
by: Ray | last post by:
Hello, I've been reading MSDN to find out the answer for the question above, but I think I should ask in this newsgroup (since nearly everything I read in MSDN Seems to recommend me to move to...
13
by: processoriented | last post by:
I am trying to find the best approach to do something here... situation is this... One of the tables in my dataset is a "Work Order" table with information about what needs to be done and where. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.