Re: Date search bug
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 17657
interpreted = N
texte = This is what creates the popup menu (and crashes WebSTAR):
I removed the &accdatetype=date and it works fine. The weird thing is, on thenext page I have:[search db=offshorelog.db&eqaccdatedata=[popup]&accdatetype=date&deaccdatesort=1&deacctimesort=2&max=500]and that works fine. That's why I'm thinking that the bug is in the creationof a popup menu on the fly from a search involving dates.In any case, your suggestion is a good one, as usual, and I think I've alreadyfigured out a way to do that.Kenneth Grome wrote:> > >> [accdate] should not interfere with [date] as far as the search routines are concerned. This problem was fixed in 2.0 quite a while ago. How big is your database? Try taking out the summ=T - depending on the size of the database, this could require additional RAM.> > >I discovered that the same syntax works fine when not enclosed in the
> >tag, because that syntax appears on the very next page. Is it possible that> >something strange is happening when WebCat tries to build a form popup from a> >summarized series of dates?> > What does your code look like that creates the popup menu?> > If you have to, write some special code that creates an include file -- once a day -- with that popup code in it, thenuse [include] to put that code into your search page. I do this on my sites whenever I can, it saves a lot of unnecessary searching because the popup is not dynamically created every time, it's only recreated once a day.> > Sincerely,> Ken Grome> 808-737-6499> WebDNA Solutions> mailto:ken@webdna.net> http://www.webdna.net-- Gil Poulsen, Webmaster*************************************************************** AltiM@c * Phone: (732) 469-2567 ** 429 St. Giles Court * FAX: (732) 469-5823 ** Somerset, NJ * e-mail: help@altimac.com ** 08873 * WWW: http://www.altimac.com ***************************************************************
Associated Messages, from the most recent to the oldest:
This is what creates the popup menu (and crashes WebSTAR):I removed the &accdatetype=date and it works fine. The weird thing is, on thenext page I have:[search db=offshorelog.db&eqaccdatedata=[popup]&accdatetype=date&deaccdatesort=1&deacctimesort=2&max=500]and that works fine. That's why I'm thinking that the bug is in the creationof a popup menu on the fly from a search involving dates.In any case, your suggestion is a good one, as usual, and I think I've alreadyfigured out a way to do that.Kenneth Grome wrote:> > >> [accdate] should not interfere with [date] as far as the search routines are concerned. This problem was fixed in 2.0 quite a while ago. How big is your database? Try taking out the summ=T - depending on the size of the database, this could require additional RAM.> > >I discovered that the same syntax works fine when not enclosed in the > >tag, because that syntax appears on the very next page. Is it possible that> >something strange is happening when WebCat tries to build a form popup from a> >summarized series of dates?> > What does your code look like that creates the popup menu?> > If you have to, write some special code that creates an include file -- once a day -- with that popup code in it, thenuse [include] to put that code into your search page. I do this on my sites whenever I can, it saves a lot of unnecessary searching because the popup is not dynamically created every time, it's only recreated once a day.> > Sincerely,> Ken Grome> 808-737-6499> WebDNA Solutions> mailto:ken@webdna.net> http://www.webdna.net-- Gil Poulsen, Webmaster*************************************************************** AltiM@c * Phone: (732) 469-2567 ** 429 St. Giles Court * FAX: (732) 469-5823 ** Somerset, NJ * e-mail: help@altimac.com ** 08873 * WWW: http://www.altimac.com ***************************************************************
Gil Poulsen
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:
SET (1998)
problems with 2 tags shakur (1997)
Search design (1997)
Calculating multiple shipping... (1997)
New commands in Final candidate (1997)
notification solutions (1997)
SiteEdit Pro Update Announcement (1997)
Setting up WebCatalog with Retail Pro data (1996)
Logging purchases (1997)
Configuring E-mail (1997)
Searchable WebCat (etc.) Docs ? (1997)
Firesite and WebCat (1999)
authorizenet and netscape (2002)
Emailer Blackmail (1998)
Document Contains No Data! (1997)
strange [date] behavior (2001)
Search design (1997)
OK, here goes... (1997)
still having shipCost.db Problem (1997)
[OT] Linux -> Winderz (2005)