texte = --Apple-Mail-130--938688097Content-Type: text/plain;charset=US-ASCII;format=flowed;delsp=yesContent-Transfer-Encoding: 7bitHi -I'm using WebDNA Commerce Edition 6.0 on a G5 Xserve under 10.3.9.I have code that is supposed to search a database and show any advertiser's status (called linkexpires, in this example) falls between today's date and a week from now. It generally seems to work, but every once in a while I have an issue like this one.Here's my code (minus some HTML to make it cleaner):The following companies have LINKS whose status will expire between [date] and [math date]{[date]}+{00/07/0000}[/math][search db = TheSeniorGuide .db &linkexpirestype = date &group1field = linkexpires &group2field = linkexpires &group1fieldtype=date&group2fieldtype=date&legroup1datarq=[math date] {[date]}+{00/07/0000}[/math]&gegroup2datarq=[date]&ascompanynamesort=1]
Company | Address | City | State th> | Zip | Expiration |
[founditems][hideif [linkexpires]=][companyname] | [streetaddress] | [city] td> | [state] | [zip] | [linkexpires] |
[/hideif][/founditems][/search]Here's the output:The following companies have LINKS whose status will expire between 02/19/2009 and 02/26/2009CompanyAddressCityStateZipExpirationProvince Place of DePaul6403 Granby StNorfolkVA2350502/25/2010Province Place of MaryviewOne Bon Secours WayPortsmouthVA23703 02/25/2010If the output didn't copy properly, it shows two listings who expire 02/25/2010The day and month of the expiration is true, but the year is wrong. This advertiser shouldn't show up here until one year from now.Where's my coding error? Anyone? Anyone? Bueller?TIA-----Patrick Junkroski--Apple-Mail-130--938688097Content-Type: text/html;charset=US-ASCIIContent-Transfer-Encoding: quoted-printableHi =-
I'm using WebDNA Commerce Edition 6.0 on a G5 =Xserve under 10.3.9.
I have code that is =supposed to search a database and show any advertiser's status (called =linkexpires, in this example) falls between today's date and a week from =now. It generally seems to work, but every once in a while I have an =issue like this one.
Here's my code =(minus some HTML to make it cleaner):
The =following companies have LINKS whose status will expire between =[date] and [math =date]{[date]}+{00/07/0000}[/math]
[search =db=3DTheSeniorGuide.db&linkexpirestype=3Ddate&group1field=3Dlinkex=pires&group2field=3Dlinkexpires&group1fieldtype=3Ddate&group2f=ieldtype=3Ddate&legroup1datarq=3D[math =date]{[date]}+{00/07/0000}[/math]&gegroup2datarq=3D[date]&ascompan=ynamesort=3D1]
<table cellspacing=3D"10" =border=3D"1">
<tr><th>Company</th><th>Address</th=><th>City</th><th>State</th><th>Zip</th><th>Expiratio=n</th></tr>
[founditems][hideif =[linkexpires]=3D]
<tr><td><b>[companyname]</b></t=d><td>[streetaddress]</td><td>[city]</td><td>[state]</td=><td>[zip]</td><td>[linkexpires]</td></tr>
[/hide=if][/founditems]
[/search]
Here's the output:
The following companies have LINKS whose status will =expire between 02/19/2009 and 02/26/2009Company | Address | City | State | ZipExpiration |
---|
Province Place of =DePaul | 6403 Granby =St | Norfolk | VA | 23505 | 02/25/2010 |
Province Place of Maryview | One Bon Secours =Way | Portsmouth | VA | 23703 | 02/25/2010
= |
If the output =didn't copy properly, it shows two listings who expire =02/25/2010
The day and month of the expiration =is true, but the year is wrong. This advertiser shouldn't show up here =until one year from now.
Where's my coding =error? Anyone? Anyone? = Bueller?
TIA
-----
Patr=ick =Junkroski
=--Apple-Mail-130--938688097--
Associated Messages, from the most recent to the oldest:
--Apple-Mail-130--938688097Content-Type: text/plain;charset=US-ASCII;format=flowed;delsp=yesContent-Transfer-Encoding: 7bitHi -I'm using WebDNA Commerce Edition 6.0 on a G5 Xserve under 10.3.9.I have code that is supposed to search a database and show any advertiser's status (called linkexpires, in this example) falls between today's date and a week from now. It generally seems to work, but every once in a while I have an issue like this one.Here's my code (minus some HTML to make it cleaner):The following companies have LINKS whose status will expire between [date] and [math date]{[date]}+{00/07/0000}[/math][search db = TheSeniorGuide .db &linkexpirestype = date &group1field = linkexpires &group2field = linkexpires &group1fieldtype=date&group2fieldtype=date&legroup1datarq=[math date] {[date]}+{00/07/0000}[/math]&gegroup2datarq=[date]&ascompanynamesort=1]Company | Address | City | State th> | Zip | Expiration |
[founditems][hideif [linkexpires]=][companyname] | [streetaddress] | [city] td> | [state] | [zip] | [linkexpires] |
[/hideif][/founditems][/search]Here's the output:The following companies have LINKS whose status will expire between 02/19/2009 and 02/26/2009CompanyAddressCityStateZipExpirationProvince Place of DePaul6403 Granby StNorfolkVA2350502/25/2010Province Place of MaryviewOne Bon Secours WayPortsmouthVA23703 02/25/2010If the output didn't copy properly, it shows two listings who expire 02/25/2010The day and month of the expiration is true, but the year is wrong. This advertiser shouldn't show up here until one year from now.Where's my coding error? Anyone? Anyone? Bueller?TIA-----Patrick Junkroski--Apple-Mail-130--938688097Content-Type: text/html;charset=US-ASCIIContent-Transfer-Encoding: quoted-printableHi =-
I'm using WebDNA Commerce Edition 6.0 on a G5 =Xserve under 10.3.9.
I have code that is =supposed to search a database and show any advertiser's status (called =linkexpires, in this example) falls between today's date and a week from =now. It generally seems to work, but every once in a while I have an =issue like this one.
Here's my code =(minus some HTML to make it cleaner):
The =following companies have LINKS whose status will expire between =
[date] and [math =date]{
[date]}+{00/07/0000}[/math]
[search =db=3DTheSeniorGuide.db&linkexpirestype=3Ddate&group1field=3Dlinkex=pires&group2field=3Dlinkexpires&group1fieldtype=3Ddate&group2f=ieldtype=3Ddate&legroup1datarq=3D[math =date]{
[date]}+{00/07/0000}[/math]&gegroup2datarq=3D
[date]&ascompan=ynamesort=3D1]
<table cellspacing=3D"10" =border=3D"1">
<tr><th>Company</th><th>Address</th=><th>City</th><th>State</th><th>Zip</th><th>Expiratio=n</th></tr>
<tr><td><b>[companyname]</b></t=d><td>[streetaddress]</td><td>[city]</td><td>[state]</td=><td>[zip]</td><td>[linkexpires]</td></tr>
[/hide=if][/founditems]
[/search]
Here's the output:
The following companies have LINKS whose status will =expire between 02/19/2009 and 02/26/2009Company | Address | City | State | ZipExpiration |
---|
Province Place of =DePaul | 6403 Granby =St | Norfolk | VA | 23505 | 02/25/2010 |
Province Place of Maryview | One Bon Secours =Way | Portsmouth | VA | 23703 | 02/25/2010
= |
If the output =didn't copy properly, it shows two listings who expire =02/25/2010
The day and month of the expiration =is true, but the year is wrong. This advertiser shouldn't show up here =until one year from now.
Where's my coding =error? Anyone? Anyone? = Bueller?
TIA
-----
Patr=ick =Junkroski
=--Apple-Mail-130--938688097--
Patrick Junkroski
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:
Shopping Cart Best Practices (2006)
searching with if/then (2004)
WebMerchant Setup help (2000)
PCS Emailer's role ? (1997)
What's New Date (2002)
Banners (1997)
Secure Server (1997)
Form based Redirect (2001)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Banners and sort of random display (1997)
[WebDNA] WebDNA crash and now emailer not working (2009)
Online reference (1997)
Emailer Set Up (1997)
PDF on the fly - how to? (2005)
WCS Newbie question (1997)
Closing Databases (1998)
Problems with [Applescript] (1997)
Nesting FoundItem Context (1997)
WebCat2_Mac RETURNs in .db (1997)
expired beta (1997)