Re: build a select list from a db search
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 60414
interpreted = N
texte = I think you are looking for the unique IDs in your database. There is a way to do this in the search.Add &IDsumm=T to your search and get rid of the HIDEIF you're using. That should speed things up. I'm not sure why you're using HOWMANY. [NUMFOUND] tells you how many records are returned by the search.Bill-----Original Message-----From: Marc Thompson
Sent: Thu, 09 Dec 2004 15:48:15 -0700To: "WebDNA Talk" Subject: build a select list from a db searchIs there a better, more efficient way to build a list than the example I have below. The _receipts.db contains over 24,000 records. Seems like this a starting to take too long to build? [Text]Found_ID=[/Text] [math show=f]howmany=1-1[/math][search db=_receipts.db&neSKUdatarq=find_all&Deptsort=1] [founditems] [HideIf [Found_ID]^[ID]] [math show=f]howmany=[howmany]+1[/math] [Dept] [/HideIf] [Text]Found_ID=[Found_ID],[ID][/Text] [/founditems][/search] Marc-- -------------------------------------------Marc ThompsonSoftware EngineerOffice of Information TechnologyUniversity of Utah801.585.9264marc.thompson@utah.edu--------------------------------------------------------------------------------------------------------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/-------------------------------------------------------------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:
I think you are looking for the unique IDs in your database. There is a way to do this in the search.Add &IDsumm=T to your search and get rid of the HIDEIF you're using. That should speed things up. I'm not sure why you're using HOWMANY. [NUMFOUND] tells you how many records are returned by the search.Bill-----Original Message-----From: Marc Thompson Sent: Thu, 09 Dec 2004 15:48:15 -0700To: "WebDNA Talk" Subject: build a select list from a db searchIs there a better, more efficient way to build a list than the example I have below. The _receipts.db contains over 24,000 records. Seems like this a starting to take too long to build? [text] Found_ID=[/Text] [math show=f]howmany=1-1[/math][search db=_receipts.db&neSKUdatarq=find_all&Deptsort=1] [founditems] [HideIf [Found_ID]^[ID]] [math show=f]howmany=[howmany]+1[/math] [Dept] [/HideIf] [text] Found_ID=[Found_ID],[ID][/Text] [/founditems][/search] Marc-- -------------------------------------------Marc ThompsonSoftware EngineerOffice of Information TechnologyUniversity of Utah801.585.9264marc.thompson@utah.edu--------------------------------------------------------------------------------------------------------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/-------------------------------------------------------------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/
devaulw@onebox.com
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:
Updating a database once per day - An example (1998)
What about the fixes that were promised for 5.2 ? (2004)
Way Off Topic (2003)
Protect and Serve (1999)
Sorry Off Topic! (1998)
How to Display text in empty fields (1997)
[CART] inside a [LOOP] (1997)
Search in 2 or more catalogs (1997)
Bug alert! (1997)
[OT] HTML lists and IE (2007)
Applescript Hack (1996)
relogin same user? (1998)
OH MY GOD! (1998)
webcat plugin issue (2001)
[bug] Technical Support Log Crashes Server (2004)
suggestion (1997)
Multiple catalog databases and showcart (1997)
WebCatalog and WebMerchant reviewed by InfoWorld (1997)
WebCatalog can't find database (1997)
minimalist shopping cart. (1997)