<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>What am I doing wrong?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Using the following, I'm getting an error. In fact
revNumberOfRecords returns -1 instead of the number of records. This error is
not documented. RunRev doc present a possible error as a litteral data
("revDBerr" or something like that.</FONT></DIV>
<DIV>
<P>on mouseUp<BR> put empty into field "field
1"<BR> put revOpenDatabase("ODBC","revo","","","") into
myDB<BR> put revQueryDatabase(MyDB,"SELECT * FROM Nouns") into
myRecSet<BR> put revNumberOfRecords(myRecSet) into
NbRec<BR> repeat NbRec times<BR>
put revCurrentRecord(myRecSet) after field "field
1"<BR> put
revDatabaseColumnNamed(myRecSet,"Noun") & cr after field "field
1"<BR> revMoveToNextRecord
myRecSet<BR> end repeat<BR> revCloseDatabase
MyDB<BR>end mouseUp</P></DIV></BODY></HTML>