Re: Generating Options for a Form.
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 14085
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 adatabase, right? That's easy, just do a search with a searchparameter something like this: neFieldNamedata=something.ne means not equal (it's in the documentation)FieldName is the name of the field you're checkingdata tells webcat this is a search parametersomething is a value that could not possibly be the exact value ofthat field in any record in the databaseFor example, nenamedata=0 would retrieve all the records in thedatabase except for the records whose name are equal to 0. Sinceit's very unlikely that anyone's name is 0, this search willretrieve all the records in the database ... :)Sincerely, Ken GromeWebDNA Solutions808-737-6499http://www.smithmicro.com/webdnasolutions/.
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 adatabase, right? That's easy, just do a search with a searchparameter something like this: neFieldNamedata=something.ne means not equal (it's in the documentation)FieldName is the name of the field you're checkingdata tells webcat this is a search parametersomething is a value that could not possibly be the exact value ofthat field in any record in the databaseFor example, nenamedata=0 would retrieve all the records in thedatabase except for the records whose name are equal to 0. Sinceit's very unlikely that anyone's name is 0, this search willretrieve all the records in the database ... :)Sincerely, Ken GromeWebDNA Solutions808-737-6499http://www.smithmicro.com/webdnasolutions/.
Kenneth Grome
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:
Client-side Image Maps and WebCat (what's a database-drivensite)? (1998)
sendmail spaces (1997)
Error message (1999)
Credit card processing - UK (1997)
A Global Variable (1997)
RePost: AutoReload? RequireComment? InterpretAll? (1999)
For those of you not on the WebCatalog Beta... (1997)
WebCat Error Log problem (2.0.1, acgi, Mac) (1997)
Testing the WebCat Email List Members (2000)
Bulk Email Limits (2001)
Shopping carts and reloading pages (1997)
reading a email (2000)
Banners (1997)
Newbie trouble with [url] & [foundItems] (2000)
strange problem listfiles and movefile (long) (2000)
OT: Log Files (2003)
Assigning Serialized Customer Numbers (1997)
Questions about maximum (1999)
Roundup function? (1997)
RE: WebCatalog2 for NT Beta Request (1997)