On Tue, 19 Oct 2004, Tony Grant wrote:
> <% if ((((howmanyworks_data = howmanyworks.getObject("works"))==null ||
> howmanyworks.wasNull())?"":howmanyworks_data)) { // Adv Conditional
> Region %>
>
> incompatible types
> found : java.lang.String
> required: boolean
>
This is a Java error, not a postgresql error. The following statement is
being used as a boolean value, but one half returns a String and the other
an Object, neither is a boolean.
if ( (<null check>)?"":howmanyworks_data) {
Kris Jurka