Re: delete after x

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19613
interpreted = N
texte = On 8/26/98 9:25 AM shane@ims1.com wrote >does anyone know of a way to delete a record(s) after a certain amount of >time? A client would like to make sure that records only last 1 month. Is >there any kind of difference tag i.e. the difference between [day of year >entered] and [day of year today] > 30.Yes you can do a date field when the record is added, and then compare the date to todays date if its greater than thirty then its expired and won't be found or you can set it to be deleted. I believe the banner ad example from PCS has this being done or a operation similar. Good luck.Robert Minor _________________________________________________________________________ Cybermill Communications webmaster@cybermill.com 8616 Joseph Ave. http://www.cybermill.com St. Louis, MO 63144 (314) 962-4024 _________________________________________________________________________ Purveyors of fine websites and high bandwith. Colocation and domain hosting available. Associated Messages, from the most recent to the oldest:

    
  1. Re: delete after x (bob 1998)
  2. delete after x (shane@ims1.com 1998)
  3. Re: delete after x (Dave MacLeay 1998)
On 8/26/98 9:25 AM shane@ims1.com wrote >does anyone know of a way to delete a record(s) after a certain amount of >time? A client would like to make sure that records only last 1 month. Is >there any kind of difference tag i.e. the difference between [day of year >entered] and [day of year today] > 30.Yes you can do a date field when the record is added, and then compare the date to todays date if its greater than thirty then its expired and won't be found or you can set it to be deleted. I believe the banner ad example from PCS has this being done or a operation similar. Good luck.Robert Minor _________________________________________________________________________ Cybermill Communications webmaster@cybermill.com 8616 Joseph Ave. http://www.cybermill.com St. Louis, MO 63144 (314) 962-4024 _________________________________________________________________________ Purveyors of fine websites and high bandwith. Colocation and domain hosting available. bob

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:

CC: (1998) Searchable WebCat (etc.) Docs ? (1997) Summing fields (1997) PSC recommends what date format yr 2000??? (1997) [WebDNA] Can anyone share a markdown type text converter in WebDNA? (2011) WebDNA 4.5 rpm?!! (2003) Using Web* mail instead of Emailer? (1999) Remove Multiple Line Items (2005) How to append text after the sign & (1997) Help! WebCat2 bug (1997) RequiredFields template (1997) OT: Limit on # of Pulldown entries (1997) combine search (1998) Setting up the server (1997) Nested tags count question (1997) RE: Nesting [ListFiles] (1998) accountnum using [listwords] (2001) Counting LineItems (2000) Re(2): & in grep (2003) New public beta available (1997)