Search found 91 matches: setado

Return to advanced search

Re: Twbrowse with ado/sql

Pieter,

As I commented to Erwin, to me the shortest and easiest way is to implement a Method SetAdo() for your Class PBrowse().

You may use Class TXBrowse Method SetAdo() as a reference and Class TWbrowse Method SetArray() as the template to follow.
by Antonio Linares
Thu Mar 19, 2015 11:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Twbrowse with ado/sql
Replies: 4
Views: 780

Re: xBrowse with ADO

... you may try the approach you proposed with these modifications: 1. delete all columns as in your code. then oBrw:lAdjusted := .f. // new oBrw:SetADO( oRsNew ) // You may use last param aFldNames if you want specific fields // Here you insert other code like changing bEditValue, SetCheck() ...
by nageswaragunupudi
Sun Nov 30, 2014 3:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse with ADO
Replies: 4
Views: 1297

xBrowse with ADO

... of the recordset are not identical. I solved in this way Open new Recset oNewRs FOR i := len(oBrwLis:aCols) to 1 STEP - 1 oBrw:DelCol(i) NEXT oBrw:SetADO( oNewRs ) oRsOld:Close() oBrw:GoTop() oBrw:Refresh() Is correct use oBrw:SetADO( oNewRs ) or can cause side effects ? I have another question ...
by Maurizio
Thu Nov 27, 2014 10:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse with ADO
Replies: 4
Views: 1297

Re: xBrowse + OO Array

... Hope you know we can browse oDlg, oWnd, etc .. any object ) ------------- Having said this, let me add a few notes: Hereafter no new methods like SetAdo, SetArray, etc will not be added to accommodate new classes. It is enough if the class is designed providing above methods and any such object ...
by nageswaragunupudi
Fri Jun 06, 2014 4:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse + OO Array
Replies: 16
Views: 4796

Re: XBrowse clausula SORT en FW 13.5

...       HEADERS "Usuario","Población"    //        oLbx:SetAdo(oRs) // Do not call this method  Please do not use FIELDS clause Instead use COLUMNS clause as shown as above. Do not forget to specify ...
by nageswaragunupudi
Wed Aug 28, 2013 9:37 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBrowse clausula SORT en FW 13.5
Replies: 2
Views: 507

Re: Setting a Standard

... it is not desirable to set this data to .t. For Array and Recordset browses, lVThumbTrack is set to .t. by default in the SetArray() and SetADO() methods, because in both cases the data resides in the memory. Because it is not possible for xbrowse to decide the data access speeds in case ...
by nageswaragunupudi
Fri Jul 19, 2013 12:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Setting a Standard
Replies: 6
Views: 1925

Re: New FTDN June/Junio 2013 (FWH 13.06)

... la clase XBrowse, nuevo DATA bDelete y nuevo método Delete(). oBrw:Delete() evalua bDelete si ha sido asignado y refresca el “browse”. SetRDD(), SetADO, SetOdbf, SetArray y SetTDolphin asignan por defecto el bloque de código bDelete. Así, por defecto oBrw:Delete() borra la fila actual y refresca ...
by Antonio Linares
Tue Jul 16, 2013 5:19 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio 2013 (FWH 13.06)
Replies: 1
Views: 3017

New FTDN June/Junio 2013 (FWH 13.06)

... * New: XBrowse new DATA bDelete and new Method Delete() oBrw:Delete() evaluates oBrw:bDelete if assigned and refreshes the browse. SetRDD(), SetADO, SetOdbf, SetArray and SetTDolphin assign default bDelete codeblocks. So, by default oBrw:Delete() deletes the current row and refreshes the ...
by Antonio Linares
Mon Jul 08, 2013 6:53 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio 2013 (FWH 13.06)
Replies: 1
Views: 3017

Re: xbrowse+ADO NO REFRESCA EL BROWSE

... padre, tampoco muestra el primer registro agregado,(lo hace cuando cierro el dialogo y entro de nuevo) entonces concluyo que es al crear un browse:setado(oRs) con un recordset vacío cuando no se refresca. estamos cercando el problema. saludos y gracias
by Miguel Salas
Fri May 31, 2013 1:01 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowse+ADO NO REFRESCA EL BROWSE
Replies: 10
Views: 2234

Re: Error con ADO y XBrowse en recurso (Solucionado)

Rao is correct .. this particular error drives me nuts from time to time .. 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 fr...
by Rick Lipkin
Fri May 24, 2013 1:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error con ADO y XBrowse en recurso (Solucionado)
Replies: 13
Views: 4329

xBrowse y ADO

Hola a todos: Estoy usando un browse con setado, el problema es que navego en el y al editar el registro simpre me abre el primero, no en el que estoy posicionado con el puntero. alguna pista oBrwDet:SetAdO( oRsDetOrdSrv, .t., .t., { ...
by Miguel Salas
Sat May 04, 2013 4:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse y ADO
Replies: 11
Views: 1073

Re: Búsqueda incremental en RecordSet

... aIdx ID 1007 OF oDlg UPDATE; ON CHANGE SeOrden(oCbx,oLbx,nIndex) REDEFINE SAY oSay ID 101 OF oDlg UPDATE FONT oVentPrinc:oFont COLOR CLR_BLUE oLbx:SetAdo(cMa_Ctes) oLbx:bSeek := {|c| BBus(c,cMa_Ctes,nIndex[cVar]) } oLbx:oSeek := oSay oLbx:bKeyDown := {|nKey| iif( nKey=13,(cKey := ADOField(cMa_Ctes,"ma_rutc"),oDlg:End() ...
by jbrita
Tue Feb 26, 2013 2:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Búsqueda incremental en RecordSet
Replies: 5
Views: 1368

Re: Asignar objeto a xBrowse

... lo que no sé es como volverle a asignar al browse el nuevo objeto para que lo muestre. Así como para un objeto recordset lo muestro con oBrw : SetAdo( oRs), para mostrar un objeto oTxt generado por la clase TTxtFile, cual es el método ??? Espero haberme explicado. Nuevamente gracias por tu ...
by horacio
Thu Nov 01, 2012 2:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Asignar objeto a xBrowse
Replies: 5
Views: 802

Error xBrowse v1203 AdoIncrSeek

... 0 ) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:ADOINCRSEEK( 4860 ) Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE:SETADO( 4310 ) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:SEEK( 6043 ) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:KEYCHAR( ...
by Rick Lipkin
Fri Oct 19, 2012 2:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error xBrowse v1203 AdoIncrSeek
Replies: 0
Views: 313

Re: xBrowse & SQLRDD

... and OrdKeyGoTo( n ) by oRs:AbsolutePosition = n. I don't know if it can be of any help. EMG You are right. That is how XBrowse's SetAdo() works. But I think SQLRDD does not use ADO. Instead it uses the native libraries of the respective RDMS. I also do not *think* SQLRDD does ...
by nageswaragunupudi
Fri Oct 07, 2011 4:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse & SQLRDD
Replies: 55
Views: 12814
PreviousNext

Return to advanced search