var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Simple Where clause
This where clause basically works:
code = 'creq' AND
lsstv NOT BETWEEN 1 AND 80 OR
code = 'nreq' AND
lsstv NOT BETWEEN 1 AND 90
but what I'm really trying to do in words, in the first instance above is:
where the code = treq and lsstv = 0 or lsstv > 80...but the "code" column should only = creq. Obviously the 2nd "Or" in the previous sentence will include other values from the "code" column.
Not clear what you are trying to do, but you can use parenthesis to define the order of precedence in your clause, like this:
WHERE (code = 'creq'
AND lsstv NOT BETWEEN 1 AND 80)
OR (code = 'nreq'
AND lsstv NOT BETWEEN 1 AND 90)