podrian subir un ejemplo de xbrowse/mariadb/resource?

Post Reply
User avatar
goosfancito
Posts: 1956
Joined: Fri Oct 07, 2005 7:08 pm

podrian subir un ejemplo de xbrowse/mariadb/resource?

Post by goosfancito »

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/
User avatar
nageswaragunupudi
Posts: 10729
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 10 times
Contact:

Re: podrian subir un ejemplo de xbrowse/mariadb/resource?

Post by nageswaragunupudi »

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: Select all | Expand


@ row, col XBROWSE oBrw SIZE w,h PIXEL OF oDlg ;
   DATASOURCE <oQry/oRs/Alias/Array/...... > ;
   COLUMNS ..
   ...

 


RESOURCE:

Code: Select all | Expand


REDEFINE XBROWSE oBrw ID <id> OF oDlg ;
   DATASOURCE <oQry/oRs/Alias/Array/...... > ;
   COLUMNS ..
   ...
 
Regards

G. N. Rao.
Hyderabad, India
User avatar
Compuin
Posts: 1256
Joined: Tue Dec 28, 2010 1:29 pm
Location: Quebec, Canada
Has thanked: 15 times
Been thanked: 4 times

Re: podrian subir un ejemplo de xbrowse/mariadb/resource?

Post by Compuin »

Hello

This XBROWSE / DATASOURCE doesn't work for Eagle1

Please advise
FWH 23.10 | Hbmk2 32/64 Bits (Build 19.29.30133) | Microsoft Visual C 32 Bits | MySql 8.0.24 32/64 Bits | VS Code
Post Reply