Search found 28 matches: afldnames

Return to advanced search

Re: Creating table with Trichedit

... Local anchos,j,lFormato:=.F. //Local Mas_n:={} local aTable:={} local nRow,ncol Local oRtf,aMarca, cOutFile :="Plata.RTF", Sob1 Local aFldNames:= {" Ok ", " 2", " 3", "4","5","6", "7", "8", "9"} ...
by Silvio.Falconi
Mon Jan 29, 2024 3:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 1310

Re: Creating table with Trichedit

... Local anchos,j,lFormato:=.F. //Local Mas_n:={} local aTable:={} local nRow,ncol Local oRtf,aMarca, cOutFile :="Plata.RTF", Sob1 Local aFldNames:= {" Ok ", " 2", " 3", "4","5","6", "7", "8", "9"} ...
by MMK
Mon Jan 29, 2024 11:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 1310

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

... 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() ) > 10000 ...
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: 385

Detached locals y clases dinamicas

... // Se define el MESSAGE de una columna para tomar y dar valores. static function GenDataField( oADODb, nPos ) Local cNameMethod := oADODb:aFldNames[ nPos ] //#ifdef __HARBOUR__ local nClassH := oADODb:ClassH __clsAddMsg( nClassH, cNameMethod, ; { | oADODb | oADODb:_FieldGet( nPos ) }, ...
by hmpaquito
Tue Jan 21, 2020 3:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Detached locals y clases dinamicas
Replies: 0
Views: 431

TDatabase FWH 17.08 : Datas and Methods

DATAS 1. aBuffer ( ReadOnly Type: "A" ): Array holding the field values of the current record when ::lBuffer is .T. 2. aFldNames ( ReadOnly Type: "A" ): Array containing field names of DBF 3. aStruct ( ReadOnly Type: "A" ): Structure of the table, similar ...
by nageswaragunupudi
Fri Sep 15, 2017 12:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase FWH 17.08 : Datas and Methods
Replies: 1
Views: 1781

bug xBrowse ADO

... ::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: xBrowse with ADO

... 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() etc. Finally, oBrw:Adjust() // new I like your ...
by nageswaragunupudi
Sun Nov 30, 2014 3:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse with ADO
Replies: 4
Views: 1266

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: 554

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 ejemplos ...
by xmanuel
Wed Sep 10, 2014 9:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Liado con xBrowse
Replies: 3
Views: 554

Re: xbrowse - SQLRDD 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( uNew ) CLASS ...
by MGA
Fri Sep 27, 2013 7:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse - SQLRDD error
Replies: 10
Views: 2418

Re: Clase TDb o TDatabase....cual usar?

... DATA cAlias, cFile, cDriver AS String INIT "" DATA lReadOnly AS LOGICAL INIT .f. DATA lOemAnsi DATA lTenChars AS LOGICAL INIT .t. DATA aFldNames AS Array DATA oBookMark AS OBJECT DATA lBlank AS LOGICAL INIT .f. METHOD New( cAlias ) CONSTRUCTOR METHOD Activate() METHOD AddIndex( cFile, ...
by Compuin
Thu Feb 28, 2013 6:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase TDb o TDatabase....cual usar?
Replies: 10
Views: 2774

Re: database object

... ::recno(), "modified" } ) logfile("log.txt",{ "FieldGet", ::FieldGet( 1 ) } ) for n := 1 to Len( ::aFldNames ) if ! ( ::cAlias )->( FieldGet( n ) ) == ::aBuffer[ n ] msginfo(( ::cAlias )->( FieldGet( n ) )) msginfo(::aBuffer[ n ]) return .t. ...
by Otto
Thu Nov 15, 2012 4:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: database object
Replies: 12
Views: 2211

Re: What is the best of MySql (lib or class) TMySql, TDolphin

oServer:InsertFromDbf("table_name, "alias_name", alias->(reccount()), aFldNames ) the parameters are wrong please check testdbi.prg method definition from Class TDolphinsrv METHOD InsertFromDbf( cTable, cAlias, nLimit, aStruct, bOnInsert, cDuplicateKey ...
by Daniel Garcia-Gil
Sun Aug 19, 2012 5:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: What is the best of MySql (lib or class) TMySql, TDolphin
Replies: 92
Views: 16636

Re: What is the best of MySql (lib or class) TMySql, TDolphin

... " ) I rebuilt library from source you send me oServer:InsertFromDbf("table_name, "alias_name", alias->(reccount()), aFldNames ) gives me an error : Error BASE/1102 Argument error: UPPER => UPPER line 0 => (b)TDOLPHINSRV_INSERTFROMDBF line 1586 => ASCAN line ...
by mosh1
Sun Aug 19, 2012 3:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: What is the best of MySql (lib or class) TMySql, TDolphin
Replies: 92
Views: 16636

Re: Ordenar matriz multidimensiuonal

... //----------------------------------------------------------------------------// CLASS TArray DATA aData AS ARRAY DATA nAt DATA lHeaders,aFldNames DATA lEof,lBof METHOD New() CONSTRUCTOR METHOD Sort( nCol ) METHOD GoTop() INLINE ::nAt := 1,::Skip(0) METHOD GoBottom() INLINE ::nAt := ::LastRec(),::Skip(0) ...
by Francisco
Sat Jun 19, 2010 5:13 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ordenar matriz multidimensiuonal
Replies: 7
Views: 2424
Next

Return to advanced search