[ RB4] To test a cursor ?

Tim Davis timdavis at amug.org
Thu Oct 23 22:13:49 CDT 2003


Hi Thierry,

I gave an example of how its not necessary to check the cursor 
RecordCount if you won't do anything different if there are none. 
Actually here's a closer example to what you might use. Once again the 
code simply moves on if there are no records.

if cur IsA Object then
	b = cur.FirstRecord
	While b
		...
		b = cur.NextRecord
	Wend
end


Tim Davis



More information about the Valentina mailing list