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:
Slow [spawn] (2003)
Getting Emailer to send mail (1997)
Google does it... can WebDNA? Showing only the section with (2003)
Inprovement to listfiles ... (2003)
[OT] Democratic Code (2002)
Cart Transfer from Un-Secure to Secure (2000)
A quickie question (1997)
HTTP upload (2000)
Random ads (1998)
Where's Cart Created ? (1997)
Forms Search Questions (1997)
RE: OK, here goes... (1997)
form data submission get (1997)
email bounce check (2002)
contextual shownext (1998)
Changing buttons (1999)
WebCat2.0 [format thousands .0f] no go (1997)
using showpage and showcart commands (1996)
Practice runs ? (1997)
Dates - Search and Sorting (1999)