Hi antonio
i copied from a mail posted by Roberto lopez on harbour developer mailing list
testing adordd with harbour beta3 and found a problem with rddado sample.
Harbour 2.0 Beta 3
http://www.syenar.hu/harbour/will the problem due by new ole?
The sample (contrib\rddado\access1.prg) works, but exiting browse with [ESC] it gives the following error:
Error BASE/3012 Argument error: FIND
Called from WIN_OLEAUTO:FIND(0) OPEN
Called from ADO_LOCATE(0) N(0)
Called from __DBLOCATE(0)
Called from MAIN(34) 0)
Called from MAIN(11)
I've compiled with: 'hbmk2 access2.prg'
If you modify the sample to display recno() value you'll find that it always return 0 (It worked fine in Harbour 1.01)
This problem causes that HMG RDDADO Browse samples to crash, since HMG browse control relies on values returned by recno() function (of course, this is a problem for non-HMG users too).
Will be usefull a function that return ado version using oConnection.Version
The only source of rddado.lib is rddado.prg & adordd.ch a rdd wil be
done in prg thanks to usrrd