podrian subir un ejemplo de xbrowse/mariadb/resource?

podrian subir un ejemplo de xbrowse/mariadb/resource?

Postby goosfancito » Wed Sep 29, 2021 1: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/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm

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

Postby nageswaragunupudi » Wed Sep 29, 2021 4: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: Select all  Expand view

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

 


RESOURCE:
Code: Select all  Expand view

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

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10512
Joined: Sun Nov 19, 2006 5:22 am
Location: India

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

Postby Compuin » Sat Dec 18, 2021 11:26 pm

Hello

This XBROWSE / DATASOURCE doesn't work for Eagle1

Please advise
FWH 20.12
Hbmk2 32/64 Bits (Build 19.29.30133)
Microsoft Visual C 32 Bits
MySql 8.0.24 32/64 Bits
VS Code
Compuin
 
Posts: 1214
Joined: Tue Dec 28, 2010 1:29 pm
Location: Quebec, Canada


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 44 guests