Test EOF with ADORDD
Posted: Thu Jan 14, 2010 2:06 pm
Hi all !
I use ADORDD with Harbour as :
USE "Mydb" VIA "ADORDD" TABLE "" MYSQL FROM "localhost" USER "myuser" PASSWORD "mypassw" QUERY ("SELECT * from MyTABLE WHERE .... ")
ALIAS "" READONLY NEW
and then I do a report
REPORT oReport ;
.... ..
...
But there is no way to test if the query return no rows : eof() ; ALIAS->(eof()) .. ; don't work
any idea ?
best Regars
Walter Zafferami
I use ADORDD with Harbour as :
USE "Mydb" VIA "ADORDD" TABLE "" MYSQL FROM "localhost" USER "myuser" PASSWORD "mypassw" QUERY ("SELECT * from MyTABLE WHERE .... ")
ALIAS "" READONLY NEW
and then I do a report
REPORT oReport ;
.... ..
...
But there is no way to test if the query return no rows : eof() ; ALIAS->(eof()) .. ; don't work
any idea ?
best Regars
Walter Zafferami