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:

F.A.Q

A compilation of some user's questions...

WebDNA Libraries

A list of available libraries for WebDNA...

Download WebDNA Applications

WebDNA applications...

WebDNA Modules

A list of the currently available modules...

Tips and Tricks

A list of user-submitted tips ...

Technical Change History

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

Related Readings:

[sendmail]

There is hardly a website that doesn't at some point need to send an email...

[setlineitem]

Modify an existing line item in an order file...

[delete]

[delete db=some...

[url]

[url]...

[if]

This context displays HTML or executes WebDNA conditionally only if the expression is true...

[loop]

Loops through the enclosing text the specified number of times...