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 basedupon whether they were sold or not, the search results are random and notnecessarily in the order that they appear on the db. For instance, SKU1,2,3,4,5,6 can be all marked as Sold=F but the search result of the dbwith a max=2 will give me back SKU 3 and 5 or if I do it again results comeback as 1 and 4.Question:Is there a way to set the search up so that it when a max=2 that it willgive me SKU 1 and 2? And if SKU 1 is Sold=T then the results would then beSKU 2 and 3? Not the random results.Thanks.Kevin
Associated Messages, from the most recent to the oldest:
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 basedupon whether they were sold or not, the search results are random and notnecessarily in the order that they appear on the db. For instance, SKU1,2,3,4,5,6 can be all marked as Sold=F but the search result of the dbwith a max=2 will give me back SKU 3 and 5 or if I do it again results comeback as 1 and 4.Question:Is there a way to set the search up so that it when a max=2 that it willgive me SKU 1 and 2? And if SKU 1 is Sold=T then the results would then beSKU 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:
Many are called but only 6 make it to founditems. (2001)
Which Pref is faster? (1998)
WebDNA deletes major DB data big time (2004)
Nested Loops and SHOWIFs (1997)
OFF-TOPIC: Stop reloading SRC page from cache ... (2003)
Insufficient memory, OSX WebCat bug or what??? (2000)
Auto SKU's (2000)
Troubles with Selection Drop Down List Search (1998)
FM fields with CR - How to export/import? (2000)
Credit Card Processing (2000)
zip code vs tax rate database request (2002)
Smith Micro Support powerd by PHP (2006)
New Plug-in and Type 11 errors (1997)
[WebDNA] [createdate] displays today's date on Ubuntu 14.04 / WebDNA Server 8.? (2014)
Deleting Orders (1997)
Need relative path explanation (1997)
E-mailer error codes (1997)
[SHOWIF AND/OR] (1997)
Cyberstudio and WebDNA (1997)
code to phantom spacing (2001)