Search found 33 matches: nrecord

Searched query: nrecord

by Silvio.Falconi
Fri Jan 19, 2024 10:07 am
Forum: FiveWin for Harbour/xHarbour
Topic: I'm not asking for the moon... Resolved!!
Replies: 24
Views: 5349

Re: I'm not asking for the moon...

... It is the solution here.


Yes, do you test with STRTRAN ? run all ok ? sure ?


IF nMode==2 //modify
ntest1 := STRTRAN(str(oBrowse:aArraydata[nRecord][2]), ".", ",")
ntest2 := STRTRAN(str(oBrowse:aArraydata[nRecord][3]), ".", ",")
ntest3 := STRTRAN(str(oBrowse:aArraydata[nRecord][4 ...
by Silvio.Falconi
Tue Dec 05, 2023 1:14 pm
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 9237

Re: copy a row of xbrowse

... MENUITEM "Paste" WHEN acopy!=NIL ACTION ( ;
oBrw:Lock(), ;
aCopy[ 1 ] := codsep ,;
aCopy[ 8 ] := 0 ,; //recno
aadd( oBrw:aArrayData, aCopy ),;
oBrw:Unlock( .t. ), ;
acopy:=NIL ,;
oBrw:RefreshCurrent(), oBrw:SetFocus() )
ENDMENU

but when I modify it the nRecord:= oBrowse:nArrayAt is the same
by Silvio.Falconi
Fri Apr 21, 2023 9:43 am
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Choose font
Replies: 5
Views: 788

Re: Problem with Choose font

I have different on my dialog I use BTNBMP control to show name of font and sizes

cFontName := oBrowse:aArraydata[nRecord][15]
nFontSize := oBrowse:aArraydata[nRecord][16]
lUnderline := oBrowse:aArraydata[nRecord][17]
lStrikeOut := oBrowse:aArraydata[nRecord][18]
lBold := oBrowse:aArraydata ...
by Silvio.Falconi
Sat Sep 24, 2022 6:58 am
Forum: FiveWin for Harbour/xHarbour
Topic: show only some records on Xbrowse ( nRecords, year)
Replies: 10
Views: 950

Re: show only some records

I made a small test to try
I wish show only nrecord and only the year = nyear selected by user

#include "fivewin.ch"REQUEST DBFCDX//----------------------------------------------------------------------------//FUNCTION Main() RddSetDefault( "DBFCDX" ) SetHandleCount( 100 &#41 ...
by Silvio.Falconi
Mon May 30, 2022 3:30 pm
Forum: FiveWin for Harbour/xHarbour
Topic: start at the end and go back in an array - RESOLVED --
Replies: 19
Views: 1383

Re: start at the end and go back in an array

... 20,86,67,64,58,22,17,47,77,1,6} ;}


Perhaph is wrong the codeblock bBlock

Function test()
local aDatadbf:=aData_array()
local number,nRecord
local nDelay

number:=89 // delay must be 24

? Rit( aDataDbf, number, 1, nrecord )
return nil

Function Rit( aData, numero, nWheel,nRecord ...
by Silvio.Falconi
Mon May 30, 2022 11:01 am
Forum: FiveWin for Harbour/xHarbour
Topic: Strange array/ oDbf
Replies: 0
Views: 213

Strange array/ oDbf

... aData2 := aData2_array()

......

ACTIVATE DIALOG oDlg CENTERED ;
ON INIT ( Refresh_data2(oDbf,oSay,oBrw2,nRadio),; //this call Crea_data2(oDbf,nRecord,oBrw2, nTipo )
Refresh_data1(oDbf,oBrw1,adataDbf),; // this call Crea_data1(adata,nRecord,oDbf,oBrw1)
aGet[7]:nHeight:=21.2,;
Eval(oDlg ...
by Silvio.Falconi
Tue May 10, 2022 10:11 pm
Forum: FiveWin for Harbour/xHarbour
Topic: calculate the frequency of a number
Replies: 6
Views: 657

calculate the frequency of a number

... the archive and in the same position, compared to the number of records where I have positioned myself

EstrattoFrequenza(nNumber,nWheel,npos,nrecord)

with this function I pass the following parameters

nNumber the number to search
nWheel a number (from 1 to 11)
npos the position ...
by Silvio.Falconi
Tue Apr 20, 2021 8:50 am
Forum: FiveWin for Harbour/xHarbour
Topic: replace value on xbrowse ( tdatabase)
Replies: 4
Views: 545

replace value on xbrowse ( tdatabase)

... WITH OBJECT oBrowse:aCols[ 7]
:bEditValue := TotalDays(oBrowse)
END

I tried with ( but not run ok )

Function TotalDays(oBrowse)
local nRecord := oBrowse:narrayat
local dStart := oBrowse:aArrayData[nRecord][5]
local dEnd := oBrowse:aArrayData[nRecord][6]
local nGiorni:= (dEnd-dStart)+1 ...
by Silvio.Falconi
Fri Feb 12, 2021 7:27 am
Forum: FiveWin for Harbour/xHarbour
Topic: error on print aselected
Replies: 2
Views: 349

Re: error on print aselected

Nages,
I have seen that if I select a record towards the end of the archive, he prints from that record onwards (until the end of the archive)
it is as if it uses the selected record to assign a point (goto nrecord)
by Antonio Linares
Fri Oct 18, 2019 8:38 am
Forum: WhatsNew / Novedades
Topic: New FTDN September/Septiembre 2019 (FWH 19.09)
Replies: 1
Views: 4386

Re: New FTDN September/Septiembre 2019 (FWH 19.09)

... con algunos nombres de campo
en algunas tablas. Estos métodos ahora son descartados.

- Método Eval( bAction, [bFor], [bWhile], [nNext], [nRecord], [lRest] )
Todos los bloques de código son evaluados con Self como parámetro.
el puntero al registro es restaurado después de la ejecución ...
by Antonio Linares
Sun Oct 13, 2019 11:14 am
Forum: WhatsNew / Novedades
Topic: New FTDN September/Septiembre 2019 (FWH 19.09)
Replies: 1
Views: 4386

New FTDN September/Septiembre 2019 (FWH 19.09)

... GoBottom() are clashing with some field names
in some tables. These methods are now dropped.

- Method Eval( bAction, [bFor], [bWhile], [nNext], [nRecord], [lRest] )
All codeblocks are evaluated with Self as parameter.
Recordpointer is restored after execution.

- After a requery, if the sql does ...
by rubenfernandez01
Sun Oct 22, 2017 4:40 pm
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 6961

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

... lToggle>)->lCurrentState
ReadInsert(<lToggle>)->lCurrentMode
ReadKey()->nReadkeyCode
ReadModal(<aGetList>)->Nil
ReadVar()->cVarName
RecCount()->nRecords
RecNo()->nRecord
RecSize()->nBytes
RemAll(<cString>,[<xChar>])->cResult
RemLeft(<cString>,[<xChar>])->cResult
RemRight(<cString>,[<xChar ...
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: 6961

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

... lToggle>)->lCurrentState
ReadInsert(<lToggle>)->lCurrentMode
ReadKey()->nReadkeyCode
ReadModal(<aGetList>)->Nil
ReadVar()->cVarName
RecCount()->nRecords
RecNo()->nRecord
RecSize()->nBytes
RemAll(<cString>,[<xChar>])->cResult
RemLeft(<cString>,[<xChar>])->cResult
RemRight(<cString>,[<xChar ...
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: 6961

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

... cFootingSeperator>],[<acColumnFootings>|<cColumnFooting>])->Nil
DBEval(<bBlock>,[<bForCondition>],[<bWhileCondition>],[<nNextRecords>],[<nRecord>],[<lRest>])->Nil
DBExists(<cDbfFile>)->lExists
DBF()->cAlias
DBFieldInfo(<nInfo>,<nFieldPos>)->xFieldInfo
DBFileGet(<nFieldPos>,<cTargetFile ...
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: 2017

TDatabase FWH 17.08 : Datas and Methods

... can specify his own dialog with ::bEdit

26. End() Closes DBF and ::oCn object

27. Eof() True if EOF()

28. Eval( bBlock, bFor, bWhile, nNext, nRecord, lRest ) Executes DBEVAL() with same parameters

29. Exec( bAction ) Evaluates bAction in the WorkArea of the object.

30. ExecTigger ...