Search found 23 matches: lautoorder

Return to advanced search

Re: xBrowse: A Vision for a Simpler, More Flexible Future

... lines of code in a single sequence. For instance, I think the methods should be placed in separate classes: METHOD SetDolphin( oMysql, lAddCols, lAutoOrder, aFldNames ) METHOD SetMySql( oMysql, lAddCols, lAutoOrder, aFldNames ) // TMySql object METHOD SetColFromMySQL( cnCol, cHeader ) // used ...
by Silvio.Falconi
Tue Nov 05, 2024 11:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse: A Vision for a Simpler, More Flexible Future
Replies: 5
Views: 237

Re: xBrowse: A Vision for a Simpler, More Flexible Future

... lines of code in a single sequence. For instance, I think the methods should be placed in separate classes: METHOD SetDolphin( oMysql, lAddCols, lAutoOrder, aFldNames ) METHOD SetMySql( oMysql, lAddCols, lAutoOrder, aFldNames ) // TMySql object METHOD SetColFromMySQL( cnCol, cHeader ) // used ...
by Otto
Tue Nov 05, 2024 10:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse: A Vision for a Simpler, More Flexible Future
Replies: 5
Views: 237

Re: XBrowse con xBase - Efecto Pijama - Error en Red

... de más de 10.000 registro, por lo que comentando estas líneas (marcadas con *) en XBrowse.prg el problema se resuelve METHOD SetRDD( lAddColumns, lAutoOrder, aFldNames, aRows ) CLASS TXBrowse :::::: else if ( ( ::cAlias )->( RDDName() ) == "DBFCDX" ) * if ( ::cAlias )->( LASTREC() ...
by José
Tue Mar 21, 2023 2:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBrowse con xBase - Efecto Pijama - Error en Red
Replies: 3
Views: 510

bug xBrowse ADO

... 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: 995

Re: Liado con xBrowse

Te había contestado sin saber quien eras!!!

A ver si quedamos un día por Dos Hermans o en Utrera no?

Creo que el metodo tiene lo que tu quieres:
SetRDD( lAddColumns, lAutoOrder, aFldNames, aRows )

Sólo tendrías que crear los arrays pertinentes
by xmanuel
Thu Sep 11, 2014 8:02 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Liado con xBrowse
Replies: 3
Views: 615

Re: Liado con xBrowse

Creo que usando el método SetRDD, este es el prototipo: SetRDD( lAddColumns, lAutoOrder, aFldNames, aRows ) Ningun parametro es obligatorio asi que haz la siguiente prueba: SELECT Cliente oBrw:setRDD() oBrw:refresh() Luego podrás probar con parametros :D En los ...
by xmanuel
Wed Sep 10, 2014 9:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Liado con xBrowse
Replies: 3
Views: 615

Re: xbrowse - SQLRDD error

... kind of error shown in the log. ( where nil is used as logical ) erro: ( ::cAlias )->( DbInfo( DBI_ISREADONLY ) ) METHOD SetRDD( lAddColumns, lAutoOrder, aFldNames, aRows ) CLASS TXBrowse ... ::lReadOnly := ( ::cAlias )->( DbInfo( DBI_ISREADONLY ) ) ... erro: ::oBrw:lReadOnly METHOD Value( ...
by MGA
Fri Sep 27, 2013 7:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse - SQLRDD error
Replies: 10
Views: 2832

Re: xBrowse, bSeek y lAutoOrder

Thanks for your recommendation to use SetRDD before assigning DATA or codeblocks, that solves the problem due after executing SetRDD I can change the codeblocks, and Initiate will not run again SetRdd. That is how XBrowse is intended to be used. Any further developments assume xbrowse is used the w...
by nageswaragunupudi
Mon Jul 01, 2013 12:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse, bSeek y lAutoOrder
Replies: 3
Views: 1500

Re: xBrowse, bSeek y lAutoOrder

Hi, many thanks for your answer. Thanks for your recommendation to use SetRDD before assigning DATA or codeblocks, that solves the problem due after executing SetRDD I can change the codeblocks, and Initiate will not run again SetRdd. After reviewing the xBrowse class, another alternative is to defi...
by Biel EA6DD
Mon Jul 01, 2013 9:23 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse, bSeek y lAutoOrder
Replies: 3
Views: 1500

Re: xBrowse, bSeek y lAutoOrder

It is highly desirable to first call oBrw:cAlias := <youralias> oBrw:SetRdd( .... ) before assigning any of your data and codeblocks. If you do not explicitly call SetRdd( .. ) initially in the program, XBrowse at the time of initializing by default calls SetRdd(), but this is not recommended....
by nageswaragunupudi
Mon Jul 01, 2013 7:05 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse, bSeek y lAutoOrder
Replies: 3
Views: 1500

xBrowse, bSeek y lAutoOrder

... en el metodo SetRdd, que se llama siempre desde el metodo initiate. Antes habia un if, que hoy aparece comentado, en la linea 3979. //   if lAutoOrder      (::cAlias)->( OrderTagInfo( aStruct, 8 ) )      for nFor := 1 to Len( ::aCols )         if ( ...
by Biel EA6DD
Fri Jun 28, 2013 2:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse, bSeek y lAutoOrder
Replies: 3
Views: 1500

Re: xBrowse array and move to a specific row

Rick, revisa el METHOD SetArray( aData, lAutoOrder, nColOrder, aCols, bOnSkip ) CLASS TXBrowse, saludos... :shock: DEFAULT ::bGoTop := { || ::nArrayAt := Min( 1, Eval( ::bKeyCount ) ), Eval( ::bOnSkip, Self ) }, ; ::bGoBottom := { || ::nArrayAt ...
by joseluisysturiz
Wed Feb 27, 2013 10:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse array and move to a specific row
Replies: 5
Views: 1385

Re: XBrowse with SQLRDD

... as RecNo() and DbGoTo() functions, we may set oBrw:bkeyNo := oBrw:bBookMark 2. oBrw:bSeek: If we specify AUTOSORT clause in command syntax or lAutoOrder ( 2nd parameter ) as .t. in SetRDD( cAlias, .t. ) method, XBrowse automatically creates the bSeek codeblock. This codeblock is quite advanced ...
by nageswaragunupudi
Wed Feb 10, 2010 4:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse with SQLRDD
Replies: 3
Views: 1012

Re: xBrowse - dbSeek

oxBrw:bSeek := {|c| (::cAlias)->(DbSeek( Upper( c ) )) } Even this fails if no order is set. XBrowse assigns a default bSeek only when lAutoOrder is specified. When we specify lAutoOrder, it is better to leave the responsibility of defining bSeek to XBrowse. If lAutoOrder is not specified ...
by nageswaragunupudi
Sat Sep 19, 2009 4:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse - dbSeek
Replies: 4
Views: 829

Re: xBrowse - dbSeek

Otto,

Try this:

oxBrw:bSeek := {|c| (::cAlias)->(DbSeek( Upper( c ) )) }

Take a look at TXBrowse:setRDD(). If you use that and set lAutoOrder =.t. then you bSeek will be set automatically by xbrowse.

James
by James Bott
Fri Sep 18, 2009 8:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse - dbSeek
Replies: 4
Views: 829
Next

Return to advanced search