Technical References - [lookup]

numero = 186
interpreted = N
texte =
[lookup db=databasePath&[!][/!]value=searchValue&[!][/!]lookInField=searchField&[!][/!]returnField=fieldName&[!][/!]notFound=TextIfNotFound]

There is no need to close this tag: it will be directly replaced by the result

Using [lookup] in your template performs an extremely fast search through the specified database and returns either the value of the returnField in the found record, or the literal text of the notFound value. The search is a case-sensitive, exact match, so "Grant" does not equal "grant." If you want more control over the search criteria, use a [search] context instead.

You can specifiy a WebDNA table, in place of a db file. For example: [Lookup table=TableName&...].

[lookup] is about 40 times faster than [search]. Using several [lookup] to recover data from your bases might be faster than a single [search]

[lookup db=databasePath&[!]
[/!]value=searchValue&[!]
[/!]lookInField=searchField&[!]
[/!]returnField=fieldName&[!]
[/!]notFound=TextIfNotFound]


There is no need to close this tag: it will be directly replaced by the result



Using [lookup] in your template performs an extremely fast search through the specified database and returns either the value of the returnField in the found record, or the literal text of the notFound value. The search is a case-sensitive, exact match, so "Grant" does not equal "grant." If you want more control over the search criteria, use a [search] context instead.

You can specifiy a WebDNA table, in place of a db file.
For example: [Lookup table=TableName&...].



[lookup] is about 40 times faster than [search]. Using several [lookup] to recover data from your bases might be faster than a single [search]


DOWNLOAD WEBDNA NOW!

Top Articles:

AWS Raw WebDNA LAMP-Plus WebServer

Amazon Web Services (AWS) README for Machine Image ID...

WebDNA reference

...

F.A.Q

A compilation of some user's questions...

WebDNA Modules

A list of the currently available modules...

WebDNA Libraries

A list of available libraries for WebDNA...

Download WebDNA Applications

WebDNA applications...

Related Readings:

[uppercase]

Changes all lower case letters to upper case...

[setheader]

Changes header values in a shopping cart...

[grep]

Replaces text based on a regular expression...

[SQL]

Performs a SQL statement on an ODBC data source...

[removehtml]

Removes HTML or WebDNA tags from a string of text...

[cookie]

Cookies are a great way to remember visitors...