Hi All,

I am using DBD::ODBC to connect to a Informix database on a remote
machine, every thing seems to be going fine. Except that when I try
to get the number of rows returned by a query using the syntax bellow
:

if($sth->rows==0){
... do something
}

The problem is that I know that the row does not exist so I would
expect it to (.. do something), but it dosent. I get a value of '-1'
instaed of '0'. Any ideas why im getting the '-1' value instaed of
'0'???

Reply via email to