Search found 49 matches: nfield

Return to advanced search

ayuda con FWMariadb y fastreport (Resuelto)

... {|| oCheques:GoTop() },; {|| oCheques:Skip(1) },; {|| oCheques:Skip(-1) },; {|| oCheques:EoF() },; {|nField| oCheques:FieldGet( nField ) }) MySqlFields( oCheques ) devuelve un array con los nombres de todas las columnas del recordset, ¿Cuál sería el ...
by jose_murugosa
Thu May 19, 2022 1:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda con FWMariadb y fastreport (Resuelto)
Replies: 4
Views: 500

Re: crear tabla con el api de harbour

... que inventar algo para que se hiciera un traspaso en bloque... algo parecido a usar __dbTrans Mientras, usar Local nFCount:= ::FCount() en FOR nField:= 1 TO nFCount, y similares variables, puede ayudar un poco... muy poco... La clave es el bucle FOR y el copiado campo a campo... Saludos
by hmpaquito
Wed Feb 24, 2021 11:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: crear tabla con el api de harbour
Replies: 7
Views: 889

Re: XBrowse: Using Get for incremental Seek/Filters

... cSeek := Space( 100 )       local oCbx       local aColumns :={"ID","FIRST","LAST"}       LOCAL nField:=  2       SetGetColorFocus()       FERASE( "CUSTOMER.CDX" )       USE CUSTOMER NEW EXCLUSIVE VIA "DBFCDX"  ...
by Silvio.Falconi
Wed Dec 30, 2020 9:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse: Using Get for incremental Seek/Filters
Replies: 32
Views: 4718

Re: XBrowse: Using Get for incremental Seek/Filters

... combobox I tried to save on oBrw:cFilterFld the value of column selected @ 20, 280 COMBOBOX oCbx var oBrw:cFilterFld ; ITEMS aHdrs ; ON CHANGE ( nField:=::nat,; oBrw:cFilterFld := aColumns[nField],; msginfo( oBrw:cFilterFld ),; oBrw:Seek( "" ), oBrw:SetFocus() ) ; SIZE 150,400 PIXEL ...
by Silvio.Falconi
Mon Dec 28, 2020 11:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse: Using Get for incremental Seek/Filters
Replies: 32
Views: 4718

Re: change on line a combo

Silvio, please undo Hello Silvio, can you please try these changes: nField :=1 //header AAdd( aHdrs, "" ) AAdd( aColumns, "" ) for n= 1 to Len(aBrowse) AAdd( aHdrs, aBrowse[n][2] ) AAdd( aColumns, aBrowse[n][1] ) next And change back AEval( ...
by Otto
Thu Nov 19, 2020 2:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: change on line a combo
Replies: 24
Views: 5994

Re: change on line a combo

Hello Silvio, can you please try these changes: nField :=1 //header AAdd( aHdrs, "" ) AAdd( aColumns, "" ) for n= 1 to Len(aBrowse) AAdd( aHdrs, aBrowse[n][2] ) AAdd( aColumns, aBrowse[n][1] ) next And change back AEval( oBrw:aCols, ...
by Silvio.Falconi
Wed Nov 18, 2020 8:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: change on line a combo
Replies: 24
Views: 5994

Re: change on line a combo

Hello Silvio, can you please try these changes: nField :=1 //header AAdd( aHdrs, "" ) AAdd( aColumns, "" ) for n= 1 to Len(aBrowse) AAdd( aHdrs, aBrowse[n][2] ) AAdd( aColumns, aBrowse[n][1] ) next And change back AEval( oBrw:aCols, ...
by Otto
Tue Nov 17, 2020 7:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: change on line a combo
Replies: 24
Views: 5994

Re: change on line a combo

... the columns the procedure is not looking for the data in the field that you have selected but in the field number that is related to the combobox nfield in reality the procedure should search in the selected field, if I select "state" he must look for the data in the "state" ...
by Silvio.Falconi
Tue Nov 17, 2020 5:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: change on line a combo
Replies: 24
Views: 5994

Re: Edit a xbrowse

here not save on xbrowse I add a parameter function XBrDtPicker( dParam, cTitle, nSize, nField ) then ACTIVATE DIALOG oDlg CENTERED RELEASE FONT oFont, oFontD if lOK If nField = 1 replace res->check_in with dDate else replace res->check_out with dDate endif endif ...
by Silvio.Falconi
Thu May 10, 2018 10:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Edit a xbrowse
Replies: 4
Views: 1114

Re: funciones de FWH y Harbour en un archivo .txt

... AFields([<aFieldsnames>],[<aTypes>],[<aWidths>],[<aDecimals>])->nFields AFill(<aTarget>,<expValue>,[<nStart>],[<nCounts>])->aTarget AfterAtNum(<cSearch>,<cString>,[<nCount>],[<nSkipChars>])->cResult ...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 6389

TDatabase FWH 17.08 : Datas and Methods

... name or virtual field name. Returns value of the field. 2. Parameter can also be an expression. Returns value of the expression. 35. FieldName( nField ) FieldName (alternative name is used) 36. FieldPos( cField ) cField can also be alternate name assigned by ::MapCol() or virtual field name ...
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: 1851

Re: ADORDD FAQs

Angel, En la línea 1882 de ADORDD.prg tenemos: IF !aWAData[ WA_EOF ] .AND. !( oRecordSet:Fields( nField - 1 ):Value == xvalue ) Lo que quiere decir es que ese campo en el recordSet es de tipo fecha y el valor que quieres asignarle es de tipo caracter Error description: ...
by gautxori
Mon May 09, 2016 8:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADORDD FAQs
Replies: 87
Views: 23005

Re: ADORDD FAQs

Angel, En la línea 1882 de ADORDD.prg tenemos: IF !aWAData[ WA_EOF ] .AND. !( oRecordSet:Fields( nField - 1 ):Value == xvalue ) Lo que quiere decir es que ese campo en el recordSet es de tipo fecha y el valor que quieres asignarle es de tipo caracter Error description: ...
by Antonio Linares
Mon May 09, 2016 7:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADORDD FAQs
Replies: 87
Views: 23005

Re: ADO RDD xHarbour

Lucas, DO_PUTVALUE( 1503 ) -> oRecordSet:Update() oRecordSet:Fields( nField - 1 ):Value := xValue oRecordSet:Update() This is my code: REPLACE FACTURAS->NOMBRE WITH CLIENTES->NOMBRE .... and so one The real cause: Field lengh for FACTURAS nombre is ...
by AHF
Sat May 23, 2015 8:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 485341

Re: ADO RDD xHarbour

... TOLEAUTO:UPDATE( 0 ) Called from: source\adordd.prg => ADO_PUTVALUE( 1503 ) ADO_PUTVALUE( 1503 ) -> oRecordSet:Update() oRecordSet:Fields( nField - 1 ):Value := xValue oRecordSet:Update() This is my code: REPLACE FACTURAS->NOMBRE WITH CLIENTES->NOMBRE .... and so one The real cause: ...
by lucasdebeltran
Sat May 23, 2015 12:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 485341
Next

Return to advanced search