Re: founditems / writefile
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62850
interpreted = N
texte = Here's how I'd do it:[loop 0-0][writefile][search SEARCH params&startat=[loopindex]*100&endat=[loopindex]*100+99][founditems][/founditems][/search][/writefile][/loop]Bill-----Original Message-----From: Phil
Sent: Fri, 26 Aug 2005 14:48:39 +0200To: "WebDNA Talk" Subject: founditems / writefileHi Everybody,I want to write out my db of 1000 products in static pages, say 100 per page.How do I do it?I tried something like [search db=products.db&neSKUdatarq=find_all] [writefile page1][founditems][product] [showif [index]\100] [/writefile] [writefile page2] [/showif][/founditems][/search]But it didnt work at all...YoursPhilip Edell.-------------------------------------------------------------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:
Here's how I'd do it:[loop 0-0][writefile][search SEARCH params&startat=[loopindex]*100&endat=[loopindex]*100+99][founditems][/founditems][/search][/writefile][/loop]Bill-----Original Message-----From: Phil Sent: Fri, 26 Aug 2005 14:48:39 +0200To: "WebDNA Talk" Subject: founditems / writefileHi Everybody,I want to write out my db of 1000 products in static pages, say 100 per page.How do I do it?I tried something like [search db=products.db&neSKUdatarq=find_all] [writefile page1][founditems][product] [showif [index]\100] [/writefile] [writefile page2] [/showif][/founditems][/search]But it didnt work at all...YoursPhilip Edell.-------------------------------------------------------------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:
Cookie setting (2003)
Loop code problem (2000)
Limit to Field Length in DB (1998)
WebCatalog and Filemaker (1996)
triggers (2003)
WebCatalog/WebDNA Hosting? (2006)
Creating 404 Not Found pages (1999)
passing user info on each page (2000)
ListWords passing multi values in one form field (2000)
Ampersand (1997)
shipcost (1997)
PIXO with cometsite ... and/or other plugins (1998)
database files in secure folder (1997)
Multiple Form Fields (2000)
DD/MM/YY reseting (1999)
[WebDNA] How to set up new hosting (2013)
Virtual hosting and webcatNT (1997)
WebCatalog can't find database (1997)
Stumpted Again (1997)
Payflow Pro Jar (2002)