Re: [WebDNA] Data Type Bool
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 103135
interpreted = N
texte = So you would have two founditems loops within your search:[search stuff...][hideif [instock]=3D0][founditems]=2E..[/founditems][/hideif][showif [instock]=3D0][founditems]=2E..[/founditems][/showif][/search](sort by sku, not instock)TerryEssentially, we want our product listing page to do the following:Group all the items that are in stock first, out of stock second.Within the in stock items, we want to sort by SKU.Right now, since in stock is the actual number in=20stock, it is sorting by actual number, not just=20by what is in stock and not in stock.-----------Ki SongOn Tue, Aug 4, 2009 at 2:13 PM, Govinda=20<
govinda.webdnatalk@gmail.com>=20wrote:Ki,I don't think so.But with webdna you don't need it either. =A0If you=20are not able to do what you want, then post the=20problem, someone will surely guide you to the=20solution.On Aug 4, 2009, at 12:07 PM, Ki Song - Knifecenter.com wrote:Is something like this possible in a search context:&asSKUsort=3D2&deON HANDsort=3D1&ON HANDtype=3DboolCan a data type be type boolean in a search context?-----------Ki Song------------John Butler (Govinda)govinda.webdnatalk@gmail.com---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list <talk@webdna.us>.To unsubscribe, E-mail to: <talk-leave@webdna.u=s>archives:=20http://mail.webdna.us/list/talk@w=ebdna.usold archives:=20http://dev.webdna.us/TalkListArchive/-- Terry Wilson | terry@terryfic.com | http://terryfic.comhttp://WhosComing.com - a simplified, affordable online reservation systemhttp://TightJacket.com -- stylish protection for your laptop--------------------------------------------------------------------------Attitude is the only difference between ordeal and adventure.
Associated Messages, from the most recent to the oldest:
So you would have two founditems loops within your search:[search stuff...][hideif [instock]=3D0][founditems]=2E..[/founditems][/hideif][showif [instock]=3D0][founditems]=2E..[/founditems][/showif][/search](sort by sku, not instock)TerryEssentially, we want our product listing page to do the following:Group all the items that are in stock first, out of stock second.Within the in stock items, we want to sort by SKU.Right now, since in stock is the actual number in=20stock, it is sorting by actual number, not just=20by what is in stock and not in stock.-----------Ki SongOn Tue, Aug 4, 2009 at 2:13 PM, Govinda=20<govinda.webdnatalk@gmail.com>=20wrote:Ki,I don't think so.But with webdna you don't need it either. =A0If you=20are not able to do what you want, then post the=20problem, someone will surely guide you to the=20solution.On Aug 4, 2009, at 12:07 PM, Ki Song - Knifecenter.com wrote:Is something like this possible in a search context:&asSKUsort=3D2&deON HANDsort=3D1&ON HANDtype=3DboolCan a data type be type boolean in a search context?-----------Ki Song------------John Butler (Govinda)govinda.webdnatalk@gmail.com---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list <talk@webdna.us>.To unsubscribe, E-mail to: <talk-leave@webdna.u=s>archives:=20http://mail.webdna.us/list/talk@w=ebdna.usold archives:=20http://dev.webdna.us/TalkListArchive/-- Terry Wilson | terry@terryfic.com | http://terryfic.comhttp://WhosComing.com - a simplified, affordable online reservation systemhttp://TightJacket.com -- stylish protection for your laptop--------------------------------------------------------------------------Attitude is the only difference between ordeal and adventure.
Terry Wilson
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:
Quit revisited (1997)
tcpconnect/tcpsend problem ... (2004)
Still trying to email... (1998)
How true is this? (1999)
RE: formula.db, adding option prices (1997)
[WebDNA] Build Name for 6.1 (2008)
carriage returns in data (1997)
Frames and WebCat (1997)
HELP WITH DATES (1997)
Document Contains No Data! (1997)
Setting up shop (1997)
Emailer Timing out (1999)
message forum question (2005)
Multiple fields on 1 input (1997)
WebCat2 several catalogs? (1997)
Help with (2003)
Trouble with [fileinfo] - update (2004)
Crashing Server (2000)
Problem with summ=T & [sum fieldname=] (2001)
Date Formats (1997)