question: search return in order

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12711
interpreted = N
texte = Hi,I have been having problems with my email but it looks as if it is OK now.Situation:When I have the thankyou.tmpl page do a search for serial numbers based upon whether they were sold or not, the search results are random and not necessarily in the order that they appear on the db. For instance, SKU 1,2,3,4,5,6 can be all marked as Sold=F but the search result of the db with a max=2 will give me back SKU 3 and 5 or if I do it again results come back as 1 and 4.Question:Is there a way to set the search up so that it when a max=2 that it will give me SKU 1 and 2? And if SKU 1 is Sold=T then the results would then be SKU 2 and 3? Not the random results.Thanks.Kevin Associated Messages, from the most recent to the oldest:

    
  1. Re: question: search return in order (Kenneth Grome 1997)
  2. question: search return in order (Kevin Furuta 1997)
Hi,I have been having problems with my email but it looks as if it is OK now.Situation:When I have the thankyou.tmpl page do a search for serial numbers based upon whether they were sold or not, the search results are random and not necessarily in the order that they appear on the db. For instance, SKU 1,2,3,4,5,6 can be all marked as Sold=F but the search result of the db with a max=2 will give me back SKU 3 and 5 or if I do it again results come back as 1 and 4.Question:Is there a way to set the search up so that it when a max=2 that it will give me SKU 1 and 2? And if SKU 1 is Sold=T then the results would then be SKU 2 and 3? Not the random results.Thanks.Kevin Kevin Furuta

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:

Not really WebCat (1997) Am I going senile? (Price recalc based on quantity) (1997) Sitebuilder ifs not matching [SMSI?] (2004) form crasehes server (1997) Exclude by date - multiple (1997) generating unique IDs (2000) Need relative path explanation (1997) here is one for you.... (2000) Re:Help name our technology! (1997) Installing WebCat under Linux Q (2000) Searching Multiple DBs (1997) I'm tired of all this! (2000) Resume Catalog ? (1997) Requiring that certain fields be completed (1997) shipping costs (1997) PCS Frames (1997) WebCommerce: Folder organization ? (1997) Sorting Numbers (1997) Tiger / WebDNA (2005) Stopping bad HTML propagation ? (1997)