BB won

Forum for users that want to write their own custom queries against the PT database either via the Structured Query Language (SQL) or using the PT3 custom stats/reports interface.

Moderator: Moderators

BB won

Postby Mike_ » Mon Jun 06, 2011 4:34 am

The figure for BB won shows in red when its negative

How I do I override the colour change ?
Mike_
 
Posts: 193
Joined: Tue Nov 04, 2008 1:58 pm

Re: BB won

Postby kraada » Mon Jun 06, 2011 8:48 am

You'd need to duplicate the stat and create a version that doesn't use the coloring. In the Configure --> Configure Statistics window choose the Player Statistics section of the game you play and go to the Statistics tab. Find BB Won, click on it and click the Dup button. Change the name to anything else (and the description if you want, though that's up to you). Go to the Format tab and change the last true to false so you have: format_number(amt_bb_won, 2, true, false) - that will turn off the coloring. Then switch your custom stat in anywhere you don't want to see the coloring.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to Custom Stats, Reports, and SQL [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests