... 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) ...
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?
... - 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. ...
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...
... ?",{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, ...
... 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.
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 ...
... 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 ...