view
Support Library
This function provides a more elaborate approach to view tables than the function table list() which is just outputting some or all
rows and columns of the table to the console. You have the choice to view and scan through the table in B4P (using the console) or
the web browser. For the web browser, you can view the table either in conventional manner (static HTML file) or as a browsable
data table (Data table functionaltiy is craeted and provided by: SpryMedia Ltd, Scotland, MIT license).
Note: Every time you view a table with this function, a copy of the table will be saved in the current working directory.
The file name begins with "_b4p_view... .html" containing the table name. The function view reset() will do the clean-up by deleting all such files created.
Under normal conditions, the 'Support Library' is loaded automatically, so no 'include(...)' call is needed.
1-2
No. | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1. input |
string | Name of existing table | ||||||||||||||||||||||||
Opt. 2. input |
string | Visualization tool
Default value: here |