Search found 91 matches: setado

Return to advanced search

Xbrowse errors using ADO and column READ

... Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:SETCOLFROMADO(4123) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:SETADO(3988) Called from: .\source\classes\XBROWSE.PRG => XBRWSETDATASOURCE(10553) Called from: .\source\classes\XBROWSE.PRG => XBROWSENEW(10375) ...
by Rick Lipkin
Tue Jul 12, 2011 11:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse errors using ADO and column READ
Replies: 8
Views: 2380

Re: XBrowse + ADO

I modified souce this way: DEFINE WINDOW oDlgs MDICHILD OF wndMain() TITLE "Alteração de notícia" oLbx := TXBrowse():New( oDlgs ) oLbx:SetAdO( oRs, .t., .t., { "data_release", "titulo" } ) oLbx:aCols[ 1 ]:cHeader := "DATA" oLbx:aCols[ 2 ]:cHeader := "TÍTULO" ...
by ADutheil
Thu Feb 17, 2011 4:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse + ADO
Replies: 7
Views: 1710

XBrowse + ADO

... IF oRs:RecordCount > 0 DEFINE WINDOW oDlgs MDICHILD OF wndMain() TITLE "Alteração de notícia" oLbx := TXBrowse():New( oDlgs ) oLbx:SetAdO( oRs, .t., .t., { "data_release", "titulo" } ) oLbx:aCols[ 1 ]:cHeader := "DATA" oLbx:aCols[ 2 ]:cHeader := "TÍTULO" ...
by ADutheil
Wed Feb 16, 2011 4:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse + ADO
Replies: 7
Views: 1710

Re: XBrowse Win7 Bar New Sample

... 1 )  you must have already assigned the datasource ( cAlias, oRs,oDbf. etc. with methods like SetRDD/SetADO,etc and preferably define atleast some columns ). My advice is that the datasource be defined soon after creating the xbrowse.
by nageswaragunupudi
Mon Jan 03, 2011 2:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse Win7 Bar New Sample
Replies: 61
Views: 13544

New FTDN September/Septiembre 2010 (FWH 10.9)

... can contain only N,C,D,L and NIL. It is programmeer's responsibility to ensuring the data does not contain any codeblocks/objects.etc. * xBrowse: SetADO() can now handle adLongVarChar and adLongVarWChar also. * Enhancement: samples\RC2PRG.prg utility has been enhanced. Thanks to Armando! * New: ...
by Antonio Linares
Mon Sep 27, 2010 7:43 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN September/Septiembre 2010 (FWH 10.9)
Replies: 0
Views: 1377

Re: Refreshing xbrowse when dataset is closed and re-opened

Mr. James This syntax is OK; it is the same as oBrw:setADO( oRS ) Note that a recordset is not an alias. There is no alias used when using a recordset. In TWbrowse you had to set cAlias to nil to prevent it erroring--this was really a workaround for ...
by nageswaragunupudi
Thu Jul 15, 2010 1:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Refreshing xbrowse when dataset is closed and re-opened
Replies: 67
Views: 16615

Re: Refreshing xbrowse when dataset is closed and re-opened

Rick, RECORDSET oRsTrip                   ;   // recordset alias This syntax is OK; it is the same as oBrw:setADO( oRS ) Note that a recordset is not an alias. There is no alias used when using a recordset. In TWbrowse you had to set cAlias to nil to prevent it erroring--this ...
by James Bott
Wed Jul 14, 2010 5:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Refreshing xbrowse when dataset is closed and re-opened
Replies: 67
Views: 16615

Re: Refreshing xbrowse when dataset is closed and re-opened

Rick,

Try issuing a oBrw:gotop() right before the oBrw:refresh().

Also, are you using oBrw:setADO(oRecordset) to setup the original browse?

James
by James Bott
Wed Jul 14, 2010 5:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Refreshing xbrowse when dataset is closed and re-opened
Replies: 67
Views: 16615

Re: Refreshing xbrowse when dataset is closed and re-opened

... putting a MsgInfo() right after that statement to see. Your error message is indicating that it is erroring out right after a call to TXBrowse:setado(). James
by James Bott
Wed Jul 14, 2010 5:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Refreshing xbrowse when dataset is closed and re-opened
Replies: 67
Views: 16615

Re: Refreshing xbrowse when dataset is closed and re-opened

... TXBrowse. The error you are getting seems to indicate that the new recordset is not opened. Try verifying that it is. You could try a call to oBrw:setADO( oRecordset ) after opening the new recordset. Perhaps you could make a very simple example of switching the recordset and using the same TXBrowse. ...
by James Bott
Tue Jul 13, 2010 1:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Refreshing xbrowse when dataset is closed and re-opened
Replies: 67
Views: 16615

Re: Web service

... Called from: D:\xHarbour\source\rtl\win32ole.prg => TOLEAUTO:FIELDS(0) Called from: C:\FWH\SOURCE\CLASSES\xbrowse.prg => TXBROWSE:SETADO(3277) Called from: C:\FWH\SOURCE\CLASSES\xbrowse.prg => XBRWSETDATASOURCE(7636) Called from: C:\FWH\SOURCE\CLASSES\xbrowse.prg => XBROWSE(7923) ...
by clemerson
Mon Jun 07, 2010 12:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Web service
Replies: 8
Views: 2661

Re: Ayuda con XBrowse

Raymundo

Como ya te indiqué, para arrays en lugar de oBrw:SetAdo(), usas oBrw:SetArray(adatos) eso es todo.

Un Saludo

Marcelo Jingo
by sjingo
Tue Apr 20, 2010 5:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con XBrowse
Replies: 13
Views: 2508

Xbrowse y columna ordenada (Solucionado)

Un saludo amigos del foro Es posible indicarle al Xbrowse qué ordene una columna n al inicializarlo?. Con oBrw:SetAdo(oRs,,.t.) se produce el autosort para todas las columnas, pero dentro del browse hay que hacer click en el encabezado de cada columna para que se ordenen, eso ...
by sjingo
Wed Mar 10, 2010 1:22 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Xbrowse y columna ordenada (Solucionado)
Replies: 4
Views: 649

Re: XBrowse Array Incremental Search

... keep in mind that when we specify AUTOSORT clause in the XBROWSE command or specify lAutoSort as parameter in any of the set methods like SetRDD, SetADO, SetODBF, SetArray, XBrowse automatically constructs bSeek codeblock. This default codeblock is generally much superior to what we can ourselves ...
by nageswaragunupudi
Wed Mar 03, 2010 12:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse Array Incremental Search
Replies: 15
Views: 6000

Re: ¿Como puedo cambiar XBrowse sobre la marcha?

JfaFive...

Es mas sencilo...
Antes del oBrw:Refresh()
pon un oBrw:SetAdo(oRcs, .T., .T.)

Prueba y me comentas
Saludos

Desde Chile
Adolfo
by Adolfo
Wed Nov 18, 2009 8:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿Como puedo cambiar XBrowse sobre la marcha?
Replies: 6
Views: 881
PreviousNext

Return to advanced search