Technical References - [closedatabase]

[CLOSEDATABASE db=FileName]

numero = 197
interpreted = N
texte = Putting [closedatabase db=name.db] in your template causes the specified database file (or full path) to be written and closed. This is only needed for special cases (usually before appending to a file) where you need to change a file perhaps cached in RAM.

WebDNA automatically closes databases when it needs more memory, so you typically do not need to use this tag.

Adding 'commit=F' will cause the specified database file to be closed but not written to disk, so any unsaved changes will be lost

Putting [closedatabase db=name.db] in your template causes the specified database file (or full path) to be written and closed. This is only needed for special cases (usually before appending to a file) where you need to change a file perhaps cached in RAM.

WebDNA automatically closes databases when it needs more memory, so you typically do not need to use this tag.



Adding 'commit=F' will cause the specified database file to be closed but not written to disk, so any unsaved changes will be lost


DOWNLOAD WEBDNA NOW!

Top Articles:

Tips and Tricks

A list of user-submitted tips ...

Download WebDNA Applications

WebDNA applications...

WebDNA Modules

A list of the currently available modules...

Technical Change History

This Technical Change History provides a reverse chronological list of WebDNA changes...

WebDNA Libraries

A list of available libraries for WebDNA...

WebDNA reference

...

Related Readings:

[setheader]

Changes header values in a shopping cart...

[protect]

...

[search]

Use the [Search] context with [founditems] to easily retrieve records from your databases...

[appendfile]

Writes text to the end of an existing file...

[showif]

[showif Comparison]Show This HTML[/showif]...

[clearlineitems]

Remove all line items from the specified shopping cart...