Guys:
With xbrowse I want send data to excel using :toExcel but only those registers that meet some condition
and not all data that is displayed in the xbrowse
is it posible?, could you give me an example, please
Thank you
aRecNo := {}
( oBrw:cAlias )->( DBEVAL( { || AAdd( aRecNo, RECNO() ) }, { || your condtion } ) )
XBROWSER "STATES.DBF" SETUP ( oBrw:bRClicked := { |r,c,f,o| ;
o:aselected := { 2,3,4 }, o:ToExcel(), o:aselected := {} } )
nageswaragunupudi wrote:
To see how the second method works, first test this small sample
- Code: Select all Expand view RUN
XBROWSER "STATES.DBF" SETUP ( oBrw:bRClicked := { |r,c,f,o| ;
o:aselected := { 2,3,4 }, o:ToExcel(), o:aselected := {} } )
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 52 guests