Equivalencia XBROWSE y TXBROWSE

Equivalencia XBROWSE y TXBROWSE

Postby Compuin » Sun May 09, 2021 4:09 pm

Saludos,

Estoy usando esta instruccion para crear un Browse desde FWHMARIA y MySql

Code: Select all  Expand view

   @ 30,10 XBROWSE oBrw SIZE -10,-10 PIXEL OF oDlg DATASOURCE uData ;
      AUTOCOLS AUTOSORT FOOTERS CELL LINES NOBORDER
 


Quiero hacerlo de esta forma, pero no funciona, ya que modifica en el Array pero no en la tabla. Cual es la correcta?
Code: Select all  Expand view

   oBrw := TXBrowse():New( oDlg )
   oBrw:SetMySql( uData )
 


Gracias
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

Re: Equivalencia XBROWSE y TXBROWSE

Postby nageswaragunupudi » Mon May 10, 2021 10:01 am

Use this:

Code: Select all  Expand view

   @ 30,10 XBROWSE oBrw SIZE -10,-10 PIXEL OF oDlg DATASOURCE uData ;
      AUTOCOLS AUTOSORT FOOTERS CELL LINES NOBORDER
 


Do not use this:
Code: Select all  Expand view

   oBrw := TXBrowse():New( oDlg )
   oBrw:SetMySql( uData )
 
Regards

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

Re: Equivalencia XBROWSE y TXBROWSE

Postby Compuin » Mon May 10, 2021 11:43 am

nageswaragunupudi wrote:Use this:

Code: Select all  Expand view

   @ 30,10 XBROWSE oBrw SIZE -10,-10 PIXEL OF oDlg DATASOURCE uData ;
      AUTOCOLS AUTOSORT FOOTERS CELL LINES NOBORDER
 


Do not use this:
Code: Select all  Expand view

   oBrw := TXBrowse():New( oDlg )
   oBrw:SetMySql( uData )
 


Why not the first one?
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

Re: Equivalencia XBROWSE y TXBROWSE

Postby Compuin » Sat May 22, 2021 2:20 pm

nageswaragunupudi wrote:Use this:

Code: Select all  Expand view

   @ 30,10 XBROWSE oBrw SIZE -10,-10 PIXEL OF oDlg DATASOURCE uData ;
      AUTOCOLS AUTOSORT FOOTERS CELL LINES NOBORDER
 


Do not use this:
Code: Select all  Expand view

   oBrw := TXBrowse():New( oDlg )
   oBrw:SetMySql( uData )
 



The first one doesn't work for Eagle 1 (DATASOURCE issue)

Any other solution?
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: No registered users and 39 guests