by nageswaragunupudi » Sun Apr 16, 2023 10:39 am
For DBF, BookMark is RECNO()
For ADO BookMark is BookMark
etc.
oBrw:BookMark := n
is equivalent to ( oBrw:cAlias )-> GOTO( n ) for DBF
and
is equivalent to oBrw:oRs:BookMark := n for ADO
Same way
oBrw:KeyNo is same is OrdKeyNo() for DBF, AbsolutePosition of ADO, etc
XBrowse can handle many types of datasources, which use different methods, functions and datas.
We talk to XBrowse is one language and XBrowse talks to the underlying datasource in its corresponding language.
So, it is possible for use the same program code for different kinds of datasources, without changing even a single character in the source program. DBF,ADO,FWMySql,TMySql,Dolphin,PostGre, etc.
Regards
G. N. Rao.
Hyderabad, India