Re: Generating Options for a Form.
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 14121
interpreted = N
texte = >>A few questions on programming in WebDNA.>>>>How do I get one .tmpl file to list all the files in a separate database.>>There are no search strings to be matched. All the files in the database>>need to be listed. I am trying to use this to generate the options for a>>select form.>>>I think you mean, how do you retrieve all the *records* in a>database, right? That's easy, just do a search with a search>parameter something like this: neFieldNamedata=something.>>ne means not equal (it's in the documentation)>FieldName is the name of the field you're checking>data tells webcat this is a search parameter>something is a value that could not possibly be the exact value of>that field in any record in the database>>For example, nenamedata=0 would retrieve all the records in the>database except for the records whose name are equal to 0. Since>it's very unlikely that anyone's name is 0, this search will>retrieve all the records in the database ... :)>>Sincerely, Ken Grome>WebDNA Solutions>808-737-6499>>http://www.smithmicro.com/webdnasolutions/>>.Ken & Christer,Thanks all, this sent me in the right direction.Until later,David Wilfongdwilfong@world-wide-art.comWorld Wide Art - Purveyors of Fine Art on the Internet.Specializing in Limited Editions by Today's Top Artists.http://www.world-wide-art.com
Associated Messages, from the most recent to the oldest:
>>A few questions on programming in WebDNA.>>>>How do I get one .tmpl file to list all the files in a separate database.>>There are no search strings to be matched. All the files in the database>>need to be listed. I am trying to use this to generate the options for a>>select form.>>>I think you mean, how do you retrieve all the *records* in a>database, right? That's easy, just do a search with a search>parameter something like this: neFieldNamedata=something.>>ne means not equal (it's in the documentation)>FieldName is the name of the field you're checking>data tells webcat this is a search parameter>something is a value that could not possibly be the exact value of>that field in any record in the database>>For example, nenamedata=0 would retrieve all the records in the>database except for the records whose name are equal to 0. Since>it's very unlikely that anyone's name is 0, this search will>retrieve all the records in the database ... :)>>Sincerely, Ken Grome>WebDNA Solutions>808-737-6499>>http://www.smithmicro.com/webdnasolutions/>>.Ken & Christer,Thanks all, this sent me in the right direction.Until later,David Wilfongdwilfong@world-wide-art.comWorld Wide Art - Purveyors of Fine Art on the Internet.Specializing in Limited Editions by Today's Top Artists.http://www.world-wide-art.com
dwilfong@world-wide-art.com (David Wilfong)
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:
Credit Card not accepted (1998)
Loops N Variables (1998)
WC2b15 File Corruption (1997)
Submitting ampersands in forms... (1998)
POST through TCPConnect (1999)
webcat license???? (1997)
Introduction/Tutorial/QuickStart (1997)
creator code (1997)
Nested search index (2000)
New Plug-in and Type 11 errors (1997)
Dubble Sku's in a Database (1999)
Trigger Admin acting up (2001)
[WebDNA] Valid input from a post search form (2013)
Search and path arguments (1998)
pc (1997)
Email Newsletters (2003)
Quitting WebMerchant ? (1997)
Logging purchases (1997)
Need relative path explanation (1997)
Download Question (1997)