FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour podrian subir un ejemplo de xbrowse/mariadb/resource?
Posts: 1956
Joined: Fri Oct 07, 2005 07:08 PM
podrian subir un ejemplo de xbrowse/mariadb/resource?
Posted: Wed Sep 29, 2021 01:30 PM

Podrían por favor subir un ejmplo (asi sea de un par de lineas) de como hacer para mostrar en un xbrowser creado por RESOURCE usando MARIADB? porque estoy querriendo migrar desde TDolphin y no encuenttro un ejemplo, todos hacen creando el xbrowse desde codigo. gracias

FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: podrian subir un ejemplo de xbrowse/mariadb/resource?
Posted: Wed Sep 29, 2021 04:18 PM
Please note that XBrowse command syntax is EXACTLY THE SAME whether you use Dolphin Query, TMySql Query, FWH RowSet, ADO RecordSet, DBF alias, TDatabase object, Array, Hash or anything,

If you have created XBrowse using command syntax for one, use the same syntax for any other datasource.

Difference between creating xbrowse from source / resource:

SOURCE:
Code (fw): Select all Collapse
@ row, col XBROWSE oBrw SIZE w,h PIXEL OF oDlg ;
   DATASOURCE <oQry/oRs/Alias/Array/...... > ;
   COLUMNS ..
   ...


RESOURCE:
Code (fw): Select all Collapse
REDEFINE XBROWSE oBrw ID <id> OF oDlg ;
   DATASOURCE <oQry/oRs/Alias/Array/...... > ;
   COLUMNS ..
   ...
Regards



G. N. Rao.

Hyderabad, India
Posts: 1276
Joined: Tue Dec 28, 2010 01:29 PM
Re: podrian subir un ejemplo de xbrowse/mariadb/resource?
Posted: Sat Dec 18, 2021 11:26 PM

Hello

This XBROWSE / DATASOURCE doesn't work for Eagle1

Please advise

FWH 25.12

Harbour/Hbmk2

Microsoft Visual C++

MySql 8.0

Antigravity

Continue the discussion