473,769 Members | 2,689 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How would you go about creating recurring appointments? ASP/SQL Server

gil
I initially tried building a coded system where numbers 1 through 10
referenced a certain type of recurring appointment, and would then call a
specific function for each, but as more appointments were added things began
to slow down quite a bit. I've taken a different approach since, and decided
to create a single record for each recurring appointment, but this has
problems as well due to the fact that I have to search each time slot going
all the way out to the specified end date/time.

What is the most efficient way to create recurring appointments using ASP
and SQL Server?

Thanks
Jul 22 '05 #1
5 4068
gil
Does anyone know of any components I can use to build recurring
appointments?


"gil" <gi*@nospam.tha nkyou> wrote in message
news:uI******** ******@TK2MSFTN GP09.phx.gbl...
I initially tried building a coded system where numbers 1 through 10
referenced a certain type of recurring appointment, and would then call a
specific function for each, but as more appointments were added things began to slow down quite a bit. I've taken a different approach since, and decided to create a single record for each recurring appointment, but this has
problems as well due to the fact that I have to search each time slot going all the way out to the specified end date/time.

What is the most efficient way to create recurring appointments using ASP
and SQL Server?

Thanks

Jul 22 '05 #2
"gil" <gi*@nospam.tha nkyou> wrote in message
news:uI******** ******@TK2MSFTN GP09.phx.gbl...
I initially tried building a coded system where numbers 1 through 10
referenced a certain type of recurring appointment, and would then call a
specific function for each, but as more appointments were added things
began
to slow down quite a bit. I've taken a different approach since, and
decided
to create a single record for each recurring appointment, but this has
problems as well due to the fact that I have to search each time slot
going
all the way out to the specified end date/time.

What is the most efficient way to create recurring appointments using ASP
and SQL Server?

Thanks

There's a nice disucssion of recurring events in this article:
http://aspfaq.com/show.asp?id=2519
Jul 22 '05 #3
Thanks for the reply. How would you recommend checking to see if an
appointment is available or not?
Would you first lookup all the dates in the auxiliarly table (depending on
the complexity of the pattern) and then build a new query from there?

Thanks again
"Chris Hohmann" <no****@thankyo u.com> wrote in message
news:uN******** ********@TK2MSF TNGP12.phx.gbl. ..
"gil" <gi*@nospam.tha nkyou> wrote in message
news:uI******** ******@TK2MSFTN GP09.phx.gbl...
I initially tried building a coded system where numbers 1 through 10
referenced a certain type of recurring appointment, and would then call a specific function for each, but as more appointments were added things
began
to slow down quite a bit. I've taken a different approach since, and
decided
to create a single record for each recurring appointment, but this has
problems as well due to the fact that I have to search each time slot
going
all the way out to the specified end date/time.

What is the most efficient way to create recurring appointments using ASP and SQL Server?

Thanks

There's a nice disucssion of recurring events in this article:
http://aspfaq.com/show.asp?id=2519

Jul 22 '05 #4
"Phil" <no*@anaddress. nospam.com> wrote in message
news:eA******** *****@tk2msftng p13.phx.gbl...
Thanks for the reply. How would you recommend checking to see if an
appointment is available or not?
Would you first lookup all the dates in the auxiliarly table (depending on
the complexity of the pattern) and then build a new query from there?


Join the set of potential recurring events with the set of existing events.
If the resultset is empty, then there are no conflicts.
Jul 22 '05 #5
gil

"Chris Hohmann" <no****@thankyo u.com> wrote in message
news:Od******** ******@TK2MSFTN GP09.phx.gbl...
"Phil" <no*@anaddress. nospam.com> wrote in message
news:eA******** *****@tk2msftng p13.phx.gbl...
Thanks for the reply. How would you recommend checking to see if an
appointment is available or not?
Would you first lookup all the dates in the auxiliarly table (depending on the complexity of the pattern) and then build a new query from there?
Join the set of potential recurring events with the set of existing

events. If the resultset is empty, then there are no conflicts.


Thank you, that worked great.

Jul 22 '05 #6

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

Similar topics

0
357
by: Pramod | last post by:
Experts I am also trying to create appointments for Outlook users on a specific Day and time. I was told you can't create appointments for others (but only for the user who is logged on). Is there a way to Create Appointments for everyone i.e. managers, other users through .NET application.
5
3893
by: Shabam | last post by:
I'm having a calendar feature developed whereby users can add recurring events. These recurring events can have start and end dates, meaning they will recur only within a date range. For instance, user A creates an event that recurs every Tuesday, from 1/1/05 - 3/2/06. The developer has decided that it would be good to have another table that stores each individual recurring event in a separate record. His logic is that this will help...
1
2427
by: steve | last post by:
Hi All I am writing a program for a gymnasium for membership control It is the first time I have had to deal with appointment diaries and I want to know the best way to store recurring appointments 1. Do I calculate and save all future appointments as table records at the time of creation of the Recurring appointment or .. 2. Do I just save the details and create the appointments in code whenever
2
1759
by: nepdae | last post by:
Please forgive me, this is a long one. My 11-user Access 2000 database is having recurring corruption problems. The symptoms include the following: 1) corrupted fields in recently created or accessed records 2) incorrectly linked records via primary and foreign keys (looking at the tables displays the correct key number but when filtered it links to a different number). 3) truncating of text entered in a memo field
1
1744
by: VB Programmer | last post by:
Here's the scenario: 3 different pcs in a doctors office. 2 doctors with 2 seperate appointment calendars. All 3 pcs need to be able to see, real time, both doctors calendars and add, remove, edit appointments. Any suggestions on how to do this? I was thinking of a web based solution where all appointments are kept on 1 pc using outlook. This pc auto-publishes the current calendar regularly to a website. When users add, edit,...
0
1532
by: Stephen B. Burris Jr. | last post by:
In my database I need to keep the offices calendar up to date with the current information that my database is tracking. To do this I am entering events as appointments. Entering them into outlook is not a problem. The problem comes from when I want to mass delete appointments. When I try to mass delete all the appointments from a specific date to a specific date not all of the appointments are deleted When I try this: For Each...
5
3018
by: mattkorguk | last post by:
Hi, Following the introduction of an appointment booking system in Access I've now given myself another issue. As I'm sending lots of appointments out I'm also then getting lots of the same appointments in my calendar as the organiser. My question is: Is there anyway to prevent the organiser entry being logged? I have switched off the 'ResponseRequested' option so I don't get bomb barded with replies. Any ideas?
0
1332
by: Ben Grimwade | last post by:
Hi, im developing an Application that integrates with Outlook by creating an appointment in there calender. The code in question is below Dim appt As Outlook.AppointmentItem obj = diary.Items.Find(" = " & Chr(34) & idCheck & Chr(34)) If obj Is Nothing Then 'Now create a new appointment in the user's diary appt = m_OutlookApp.CreateItem(Outlook.OlItemType.olAppointmentItem) Else
0
1728
by: =?Utf-8?B?TWVlbWEgSnVkeQ==?= | last post by:
I have a Verizon Palm Treo 755p and use Outlook 2002 on my new HP Pavilion (Vista 64-bit). When I was syncing on my old XP PC, everything worked fine. On the Vista PC, when I finally got it to sync (using a Bluetooth USB adapter), I ended up with recurring appointments that act wierd when I try to delete, move or edit them. It won't allow any of these changes, saying various messages: 1) If I try to open the recurring appointment: ...
0
9579
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10198
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9978
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9848
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7392
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6661
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5293
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3947
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3551
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.