Search found 91 matches: setado

Return to advanced search

Re: Problem with xBrowse

... 2069 ) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:SETCOLFROMADO( 7106 ) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:SETADO( 6577 ) Called from: .\source\classes\XBROWSE.PRG => XBRWSETDATASOURCE( 17313 ) Called from: .\source\classes\XBROWSE.PRG => XBROWSENEW( ...
by Armando
Tue May 16, 2023 5:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with xBrowse (Fixed)
Replies: 34
Views: 2120

FW_OpenRecordSet and NOWAIT dialog

... 0 ) Called from: .\source\classes\XBROWSE.PRG => ADOSKIP( 10092 ) Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE:SETADO( 5590 ) function schart01Esci close oCn that is a local variable inside (FIRST CALL) but it also closes the second connection in (SECOND CALL) ...
by damianodec
Tue Oct 26, 2021 8:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_OpenRecordSet and NOWAIT dialog
Replies: 8
Views: 792

Re: Fwh19.05 - New Class TDockPnel

Por qué no intentas en lugar de utilizar ADDCOLUMN, definir tus columnas previamente en el SETADO, y después ya solo tienes que definir los aspectos estéticos de cada columna?

Code: Select all  Expand view

oBrwMs:SetADO( oRsMes, .T. , .T., { "nombre", ..... } )
 
by cnavarro
Thu Dec 12, 2019 6:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Fwh19.05 - New Class TDockPnel
Replies: 93
Views: 15663

Re: Recarga de datos en xBrowse

gracias, pero no logro dar con ello.

oBrw:oRs.close() ..... has not exported method
y oBrw:SetAdo( cconsulta1 ) error array access
by juanjogascem
Mon Jun 03, 2019 11:18 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Recarga de datos en xBrowse
Replies: 2
Views: 382

Re: Recarga de datos en xBrowse

Juanjo, mira a ver si esto te ayuda

viewtopic.php?f=3&t=32661&p=191935&hilit=SetAdo#p191935

En cualquier caso la llamada al método SetAdo que realizas es incorrecta: ..SetAdo( cConsulta2 ), asi de ser necesario, es como se utilizaría
by cnavarro
Mon Jun 03, 2019 9:33 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Recarga de datos en xBrowse
Replies: 2
Views: 382

Re: New FTDN May 2018 (FWH 18.05)

... - Data oSortCol has value only when the sorted column is visible inside the browse window. Now it has valid value in all cases. - Fix to method SetADO(): Due to a bug in version 18.05, calling oBrw:EditSource() is causing runtime error in case of browsing selected columns from recordset. Fixed. ...
by Antonio Linares
Sun Jul 22, 2018 5:01 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN May 2018 (FWH 18.05)
Replies: 1
Views: 2731

Ayuda con un xBrowse (SOLUCIONADO)

Mr. Rao y Amigos del Foro: Now I have a Little problem with xBrowse, I have this code Ahora tengo un pequeño problema con un xBrowse,en el siguiente código: // I create a table// Creamos la tabla    cCmdSql := "CREATE TABLE IF NOT EXISTS Cuentas (" +;                    "CUE_CUE DECIM...
by Armando
Sun Jul 08, 2018 10:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con un xBrowse (SOLUCIONADO)
Replies: 6
Views: 1916

New FTDN March/Marzo 2018 (FWH 18.03)

... ?",{45} ) // now oRs is a new table * TDatabase: Fixed bug while handling empty dbf. * TWBrowse: - New methods SetOBJ( oDbf/oRs/oQry ) and SetADO( oRs ), make it easier to setup WBrowse for TDataBase, TRecSet, RecordSet, MariaDB RowSet, Dolphin/TMySql TQuery. - New DATA bClrStd: If specified, ...
by Antonio Linares
Tue Apr 24, 2018 9:25 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2018 (FWH 18.03)
Replies: 0
Views: 1674

help with XBROWSE and ADO

... RECORDCOUNT Args: Stack Calls =========== Called from: => TOLEAUTO:RECORDCOUNT( 0 ) Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE:SETADO( 4277 ) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:PAINT( 1381 ) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:DISPLAY( ...
by damianodec
Mon Mar 06, 2017 4:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: help with XBROWSE and ADO
Replies: 3
Views: 592

xbrowse refresh with new recordset

... only one record, even when I change the first one. The data of the first line is updated, but not the number of fields :) I already tried to so a setado(oRs) again with the new recordset, but that doesn't work.
by Marc Vanzegbroeck
Fri Jul 01, 2016 12:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse refresh with new recordset
Replies: 7
Views: 1504

Re: listbox to xbrowse

Hi,

I found the problem!
I have to do a setado() again, after adding the column, and after adding that extra field in my recordset :D
by Marc Vanzegbroeck
Sat Apr 02, 2016 2:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: listbox to xbrowse
Replies: 5
Views: 1033

Re: un dialogo con dos xbrowse

Luis:

Prueba especificando en cada Browse la DBF que debe tomar, no uso DBFs pero con Tablas
es así:

oBrw:SetAdo(oRsHdr)

Supongo que debe ser algo como

oBrw5:SetDbf(cAlias)
oBrw5:CreateFromResource(1001)

Saludos
by Armando
Fri Nov 27, 2015 12:09 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: un dialogo con dos xbrowse
Replies: 2
Views: 775

bug xBrowse ADO

... (b)TXBROWSE( 438 ) Offending line: ::bGoBottom := {|| If( ::oRs:RecordCount() > 0, ::oRs:MoveLast(), nil ) },; Can you please verify at METHOD SetAdO( oRs, lAddCols, lAutoOrder, aFldNames ) CLASS TXBrowse that oRs is not nil?. Thank you.
by MOISES
Mon Jul 06, 2015 7:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bug xBrowse ADO
Replies: 4
Views: 866

Re: Problema de oRs:RecordCount()

hola solo una idea!, al parecer el error no es en tu código, sino en la clase txbrowse, al tratar de pintar e invocar el method setado, al parecer una de las 3 consultas que tienes, puede que una devuelva un recorset vacío y por ende puede que se produzca el error que mencionas. buscando ...
by armando.lagunas
Wed May 20, 2015 11:56 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema de oRs:RecordCount()
Replies: 5
Views: 985

WndCreateError

... main application it gives a runtime error. I only changed KBROWSE in PBROWSE in one place to to test if that works (Still DBF based, so without SetAdo etc). Maybe there is a problem with the inheritence construction. Below is a part of the error description. Error description: Error FiveWin/6 ...
by pieter
Tue Mar 24, 2015 10:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: WndCreateError
Replies: 2
Views: 590
Next

Return to advanced search