Re: Adding repeating events to a database

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39570
interpreted = N
texte = I have done this, by adding 7 checkboxes, for the days, and 'repeat until' with a date drop down. Then on the target page, I do a little math to find out how many days from the start to the end date.I use formvariables to put the checkboxes into a singe text var. Then I loop x times.Here's the relevant code. [loop start=0&end=[numdays]][showif [thedays]^[format days_to_date %a][math]{[_date]}+{00/[index]/0000}[/math][/format]]Then I do a bunch of other stuff. HTH and gets you going in the right dir.And if On 10/24/01 1:51 AM, dale mashed the following keys :> Hello, > > I am creating a calendar system and want users to be able to enter repeating > events. These events will most likely be something like 3rd Saturday of the > month and so forth. > > I think I have part of the method figured out, that would be to allow them > to have a maximum number of times this event will be listed, (with a max of > say 12 for monthly events) and I will store a unique id for the initial > entry and will copy that into a parent event ID field and also have a > repeating event filed flag as well. > > The problem is how to I figure out what is the 3rd Saturday (or second > Monday etc) in order to properly place the information into the database? > > I would also love to be able to have a non-consistent event schedule where > they can pick the dates from a calendar of their event. That way they could > enter the exact dates. I would store the info as described above with a > parent ID and flag set in a recurring event field. > > Thanks for any help/ideas. > > Dale > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/Featured on TV: How do we get it all in? Hey, We're Pizza Hut... We've put cheese in places you've never dreamed of ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Adding repeating events to a database (Sam Lewis 2001)
  2. Re: Adding repeating events to a database (Aaron Lynch 2001)
  3. Adding repeating events to a database (dale 2001)
I have done this, by adding 7 checkboxes, for the days, and 'repeat until' with a date drop down. Then on the target page, I do a little math to find out how many days from the start to the end date.I use formvariables to put the checkboxes into a singe text var. Then I loop x times.Here's the relevant code. [loop start=0&end=[numdays]][showif [thedays]^[format days_to_date %a][math]{[_date]}+{00/[index]/0000}[/math][/format]]Then I do a bunch of other stuff. HTH and gets you going in the right dir.And if On 10/24/01 1:51 AM, dale mashed the following keys :> Hello, > > I am creating a calendar system and want users to be able to enter repeating > events. These events will most likely be something like 3rd Saturday of the > month and so forth. > > I think I have part of the method figured out, that would be to allow them > to have a maximum number of times this event will be listed, (with a max of > say 12 for monthly events) and I will store a unique id for the initial > entry and will copy that into a parent event ID field and also have a > repeating event filed flag as well. > > The problem is how to I figure out what is the 3rd Saturday (or second > Monday etc) in order to properly place the information into the database? > > I would also love to be able to have a non-consistent event schedule where > they can pick the dates from a calendar of their event. That way they could > enter the exact dates. I would store the info as described above with a > parent ID and flag set in a recurring event field. > > Thanks for any help/ideas. > > Dale > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/Featured on TV: How do we get it all in? Hey, We're Pizza Hut... We've put cheese in places you've never dreamed of ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Aaron Lynch

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

PSC recommends what date format yr 2000??? (1997) Looking for 5 to 12 shops with 3 URLs & statements (1997) [WebDNA] help with writefile (2012) unable to launch acgi in WebCat (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Invisible files (2002) addlineitem is not saving a variable. (2004) What is WebDNA (1997) AppleScript question (1997) Firesite and [referrer] atg broke (1997) [shownext] and descending order (1997) Using Plug-In while running 1.6.1 (1997) Only charge card when product shipped ? (1997) [WebDNA] WebDNA future (2010) Anyone using unix? Having problems... (2000) Problem with 2.1b3 (1997) WebDNA vs SQL ? (2002) RE: spawn (1998) Logging users (1998) Some Questions (1997)