XBROWSE : BookMark what is it for ?

XBROWSE : BookMark what is it for ?

Postby Jimmy » Sun Apr 16, 2023 5:38 am

hi,

in c:\fwh\source\classes\xbrowse.prg i found often "BookMark","bBookMark" and "SQLRDD_BookMark"
what are "Bookmark" for ... have no Idea :idea:

can somebody point me to a Sample where "BookMark" are used ... or is it only "internal" of XBROWSE :?:
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: XBROWSE : BookMark what is it for ?

Postby 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
User avatar
nageswaragunupudi
 
Posts: 10656
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 26 guests