|> Home > Documentation > Latest documentation > Interchange tags > flag|
Controls Interchange flags. For example, flags affect database access and transactions for those databases able to support these features.
See also: [tag].
or similarly with positional parameters:
The [flag] tag controls database access and transactions. For example, flags affect database access and transactions for those databases able to support these features. Also see the [tag] tag.
If a GDBM-based database is to be modified, it must be flagged writable on the page that performs the write operation.
For example, to mark the products GDBM table as writable, you can call:
This must be done before ANY access to that table.
The name of the flag to set.
The name of the table(s) to flag.
New (boolean) value for the flag.
Flag the table read-only
Flag the table as writable.
Reopens the table in transactions mode if the Safe Perl module is not active (i.e. in a GlobalSub, a global UserTag or a call to "[perl global=1]"). The limitation exists because it is not possible to reopen a connection to a table from within a
Attempts to commit transactions
Attempts to rollback transactions
Normally, the [flag] tag returns nothing to the page. Setting 'show=1' causes the tag to return status, if any.