Hi,
How the best away to create a xbrowse with some MariaDb File/Fields?
Thanks in advance
oRs := oCn:RowSet( "select first,last,city from customer" )
@ 20,20 XBROWSE oBrw SIZE w,h PIXEL OF oDlg ;
DATASOURCE oRs ;
COLUMNS "FIRST", "CITY" ;
CELL LINES NOBORDER
oBrw:CreateFromCode()
nageswaragunupudi wrote:Exactly the same way as we create xbrowse for DBF, TDatabase, ADO, Array, etc.
Syntax of XBrowse is identical for all.
- Code: Select all Expand view
oRs := oCn:RowSet( "select first,last,city from customer" )
@ 20,20 XBROWSE oBrw SIZE w,h PIXEL OF oDlg ;
DATASOURCE oRs ;
COLUMNS "FIRST", "CITY" ;
CELL LINES NOBORDER
oBrw:CreateFromCode()
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot], wilsongamboa and 43 guests