Personal tools

Log in

Changes

From All n One's bxp software Wixi

Jump to: navigation, search

KeyStat Tabs

920 bytes added, 23:43, 21 June 2014
Created page with "A KeyStat Tab allows for multiple KeyStats to be combined into a single report. The tab is laid out in HTML. A notation of --X-- is used to signify where each KeyStat is pl..."
A KeyStat Tab allows for multiple KeyStats to be combined into a single report.


The tab is laid out in HTML. A notation of --X-- is used to signify where each KeyStat is placed in the report.


A worked example:


Two KeyStats are created:


1. All users in the system: Select count(intClient_Id) as intTotalUsers from Client


2. All live users in the system: Select count(intClient_Id) as intLiveUsers from Client Where intClient_Status = 1 or intClient_Status = 2



In our KeyStat Tab, we create a HTML table as follows:



<syntaxhighlight lang="html4strict">
<table id="table1" style="width:100%;">
<tr>
<td bgcolor="#ff0000" width="50%" height="30">All System Users</td>
<td bgcolor="#ff0000" width="50%" height="30">--1--</td>
</tr>
<tr>
<td bgcolor="#00ff00" width="50%" height="30">Live System Users</td>
<td bgcolor="#00ff00" width="50%" height="30">--2--</td>
</tr>
</table>
</syntaxhighlight>
7,528
edits