Re: Date Question
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 46361
interpreted = N
texte = Jeff put your [duedate] right above the showif in the founditems loop.Post exactly one of the results to the list.Donovan>>>>| [text show=f&secure=f]sort1=duedate[/text]>>>>| [text show=f&secure=f]sort2=priority[/text]>>>>| [text show=f&secure=f]showonly=all[/text]>>>>|>>>>|>>>>| [search>>>>| db=database.db&geskudata=0&as[sort1]sort=1&as[sort2]sort=2&asstatussor>>>>| t=3[hideif>>>>| [url][showonly][/url]=all]&eqprojecttypedatarq=[url][showonly][/url][/>>>>| hideif]&duedatetype=date&prioritytype=num]>>>>| [founditems]>>>>|>>>>| [showif [duedate]<[date]]
PAST DUE ->>>>>| [/showif]>>>>|>>>>|>>>>| [/founditems]>>>>| [/search]Jeff Logan wrote:> Sorry this did not work either. See my next post.>> Jeff>> >[SHOWIF [MATH]{[duedate]}<{[date]}[/MATH]=1]> > PAST DUE> >[/SHOWIF]> >> >-----Original Message-----> >From: Jeff Logan [mailto:jefftalk@insideout.com]> >Sent: Tuesday, December 17, 2002 10:09 AM> >To: WebDNA-Talk@talk.smithmicro.com> >Subject: Re: Date Question> >> >Tried it and it did not work. Any other ideas. Need me to post the full> >code?> >> >Jeff>> >>>> >>>> >>>>> >>>>| Here is the full code with a search and just what I am having a> >>>>| problem with. [duedate] is a variable in the database that compares> >>>>| against todays date to show if a project is past due or not.> >>>>|> >>>>| Jeff Logan> >>>>|> >>>>| ----> >>>>|> >>>>| [text show=f&secure=f]sort1=duedate[/text]> >>>>| [text show=f&secure=f]sort2=priority[/text]> >>>>| [text show=f&secure=f]showonly=all[/text]> >>>>|> >>>>|> >>>>| [search> >>>>| db=database.db&geskudata=0&as[sort1]sort=1&as[sort2]sort=2&asstatussor> >>>>| t=3[hideif> >>>>| [url][showonly][/url]=all]&eqprojecttypedatarq=[url][showonly][/url][/> >>>>| hideif]&duedatetype=date&prioritytype=num]> >>>>| [founditems]> >>>>|> >>>>| [showif [duedate]<[date]]
PAST DUE ->> >>>>| [/showif]> >>>>|> >>>>|> >>>>| [/founditems]> >>>>| [/search]> >>>>|> >>>>|> >>>>|> >>>>|> >>>>| >Jeff Logan wrote:> >>>>| >> I have my search string current it is just in the show if part.> >>>>| >>> >>>>| >> [showif [duedate]<[date]] PAST DUE -> [/showif]> >>>>| >> The show if say's yes to this if the date is in 2003.> >>>>| >>> >>>>| >> >>>>| >Well, you could try this instead:> >>>>| >> >>>>| >[showif {[duedate]}<{[date]}] PAST DUE -> [/showif]> >>>>| >> >>>>| >which will compare as numbers. You aren't inside an orderfile> >>>>| >contaxt are you (since in that case [date] is the Order date not the> >>>>| >Current date)?> >>>>| >> >>>>| >John> >>>>| >> ------------------------------------------------------------------------>-------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Jeff put your [duedate] right above the showif in the founditems loop.Post exactly one of the results to the list.Donovan>>>>| [text show=f&secure=f]sort1=duedate[/text]>>>>| [text show=f&secure=f]sort2=priority[/text]>>>>| [text show=f&secure=f]showonly=all[/text]>>>>|>>>>|>>>>| [search>>>>| db=database.db&geskudata=0&as[sort1]sort=1&as[sort2]sort=2&asstatussor>>>>| t=3[hideif>>>>| [url][showonly][/url]=all]&eqprojecttypedatarq=[url][showonly][/url][/>>>>| hideif]&duedatetype=date&prioritytype=num]>>>>| [founditems]>>>>|>>>>| [showif [duedate]<[date]]PAST DUE ->>>>>| [/showif]>>>>|>>>>|>>>>| [/founditems]>>>>| [/search]Jeff Logan wrote:> Sorry this did not work either. See my next post.>> Jeff>> >[SHOWIF [math]{[duedate]}<{[date]}[/MATH]=1]> > PAST DUE> >[/SHOWIF]> >> >-----Original Message-----> >From: Jeff Logan [mailto:jefftalk@insideout.com]> >Sent: Tuesday, December 17, 2002 10:09 AM> >To: WebDNA-Talk@talk.smithmicro.com> >Subject: Re: Date Question> >> >Tried it and it did not work. Any other ideas. Need me to post the full> >code?> >> >Jeff>> >>>> >>>> >>>>> >>>>| Here is the full code with a search and just what I am having a> >>>>| problem with. [duedate] is a variable in the database that compares> >>>>| against todays date to show if a project is past due or not.> >>>>|> >>>>| Jeff Logan> >>>>|> >>>>| ----> >>>>|> >>>>| [text show=f&secure=f]sort1=duedate[/text]> >>>>| [text show=f&secure=f]sort2=priority[/text]> >>>>| [text show=f&secure=f]showonly=all[/text]> >>>>|> >>>>|> >>>>| [search> >>>>| db=database.db&geskudata=0&as[sort1]sort=1&as[sort2]sort=2&asstatussor> >>>>| t=3[hideif> >>>>| [url][showonly][/url]=all]&eqprojecttypedatarq=[url][showonly][/url][/> >>>>| hideif]&duedatetype=date&prioritytype=num]> >>>>| [founditems]> >>>>|> >>>>| [showif [duedate]<[date]]PAST DUE ->> >>>>| [/showif]> >>>>|> >>>>|> >>>>| [/founditems]> >>>>| [/search]> >>>>|> >>>>|> >>>>|> >>>>|> >>>>| >Jeff Logan wrote:> >>>>| >> I have my search string current it is just in the show if part.> >>>>| >>> >>>>| >> [showif [duedate]<[date]] PAST DUE -> [/showif]> >>>>| >> The show if say's yes to this if the date is in 2003.> >>>>| >>> >>>>| >> >>>>| >Well, you could try this instead:> >>>>| >> >>>>| >[showif {[duedate]}<{[date]}] PAST DUE -> [/showif]> >>>>| >> >>>>| >which will compare as numbers. You aren't inside an orderfile> >>>>| >contaxt are you (since in that case [date] is the Order date not the> >>>>| >Current date)?> >>>>| >> >>>>| >John> >>>>| >> ------------------------------------------------------------------------>-------------------------------------------------------------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://webdna.smithmicro.com/
Donovan
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:
HELP! 10K hits per hour for pages that no longer exist! (2000)
Fwd: FW: Returned mail: you are not authorized to release queueson this server (2000)
Summing fields (1997)
html in a database (1998)
Strange search... (2000)
FORMS: Returning a specific page (1997)
WebCat Emailer & Liststar (1997)
Summary Searches (2000)
[SearchString] problem with [search] context (1997)
WebDNA versus ASP [OT] (2002)
Email template names (1997)
PIXO support (1997)
[taxRate] [TaxTotal] ? (1997)
[WebDNA] WebDNA 7 (2011)
Problems with [Search] param - Mac Plugin b15 (1997)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
PCS Frames (1997)
WebCatalog for Postcards ? (1997)
Show shoppingcart after remove last item (1997)
[interpret] inside the db field? (1997)