Search found 49 matches: nend

Return to advanced search

Re: Incorrecto numero de argumento para AT

carito wrote:Hola creo que estas usando mal el comando:

en clipper es AT(<cSearch>, <cTarget>) --> nPosition

en harbour es hb_At( <cSearch>, <cString>, [<nStart>], [<nEnd>] ) --> nPos

Saludos,
Carito


Tenias razon. gracias.
by goosfancito
Wed Jan 17, 2024 5:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Incorrecto numero de argumento para AT
Replies: 2
Views: 205

Re: Incorrecto numero de argumento para AT

Hola creo que estas usando mal el comando:

en clipper es AT(<cSearch>, <cTarget>) --> nPosition

en harbour es hb_At( <cSearch>, <cString>, [<nStart>], [<nEnd>] ) --> nPos

Saludos,
Carito
by carito
Wed Jan 17, 2024 3:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Incorrecto numero de argumento para AT
Replies: 2
Views: 205

Re: Creation an array Multiple on Horizontal on Xbrowse

... records How I must set the filter ? I try with nCount is the number selected by final user IF nCount > 0 nInit:=oDbf:lastrec()-nCount nEnd:= oDbf:lastrec() ENDIF cFilter:= "LTRIM(STR(YEAR(FIELD->DATA)))= '" + nyear + "' .and. '"+; nInit + "' <= Ltrim(str(FIELD->RECNO())) ...
by Silvio.Falconi
Tue Sep 27, 2022 8:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creation an array Multiple on Horizontal on Xbrowse - RESOLV
Replies: 7
Views: 770

Re: show only some records on Xbrowse ( nRecords, year)

... How I can add the number of records to show ? sample only 5 records give me error Here nInit:=Ltrim(str(oDbf:lastrec()-nCount)) nEnd:=Ltrim(str(oDbf:lastrec())) cFilter:= "LTRIM(STR(YEAR(FIELD->DATA)))= '" + nyear + "' .and. '"+; nInit + "' <= Ltrim(str(FIELD-RECNO())) ...
by Silvio.Falconi
Tue Sep 27, 2022 10:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: show only some records on Xbrowse ( nRecords, year)
Replies: 10
Views: 619

Re: show only some records on Xbrowse ( nRecords, year)

Antonio Linares wrote:Dear Silvio,

SET FILTER is very slow

Using an index with scopes should be better


with tdatabase I not Know How make it


IF nCount > 0
nInit:=oDbf:lastrec()-nCount
nEnd:= oDbf:lastrec()
ENDIF

oDbf:setscope(0,nInit)
oDbf:setscope(1,nEnd)


then for the year ?
by Silvio.Falconi
Tue Sep 27, 2022 10:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: show only some records on Xbrowse ( nRecords, year)
Replies: 10
Views: 619

show only some records on Xbrowse ( nRecords, year)

... filter as you can see on this method  METHOD Load_Data(nCount) CLASS TLOTTO     local aTemp  := {}     local nLastRecords,nInit,nEnd  DEFAULT nCount := 10    ::olotto := TArchivioLotto():New()    ::olotto:SetOrder(1)    ::olotto:goBottom()    IF ...
by Silvio.Falconi
Fri Sep 23, 2022 8:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: show only some records on Xbrowse ( nRecords, year)
Replies: 10
Views: 619

Hide/show group columns on line

... SIZE 100, 20 OF oGrS1 ; ON CHANGE hidexbrowse( ::oLbx,::lBa) Function hidexbrowse( ::oLbx,::lBa) local i,oCol do case case ::lba = .t. nInit := 2 nEnd:= 6 endcase for i= nInit to nEnd oCol := ::oLbx:aCols[ i ] oCol:HIde() next ::oLbx:refresh() return nil
by Silvio.Falconi
Fri May 27, 2022 7:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Hide/show group columns on line
Replies: 0
Views: 174

Re: Tdatabase & Filter

... cIniFile)   local nInit   := VAL(GetPvProfString(cSection, "Inizio","", cIniFile))   local nEnd    := VAL(GetPvProfString(cSection, "Fine","", cIniFile))   local nLastRecords := VAL(GetPvProfString(cSection, ...
by Silvio.Falconi
Mon May 23, 2022 9:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tdatabase & Filter
Replies: 5
Views: 480

Re: Leer Excel XLSX grande a un array o DBF

... in execution; please Wait...", cMsgArrayData := "Creating CSV array data; please wait..." LOCAL nStart := Seconds(), nEnd, aData := {}, cText := "", cMsgMemo := "Reading CSV data source; please wait..." //=================================================================================================================== ...
by George
Sat Feb 05, 2022 4:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Leer Excel XLSX grande a un array o DBF
Replies: 12
Views: 1216

AT( ) Function. Harbour vs xHarbour

... orignially developed with xHarbour. The AT() function in xHarbour has this syntax: At( <cSearch>, <cString>, [<nStart>], [<nEnd>] ) --> nPos Using Harbour, AT() only supports the first two parameters and will error if the nStart is specified. Is there an alternative ...
by TimStone
Fri Feb 12, 2021 11:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: AT( ) Function. Harbour vs xHarbour
Replies: 1
Views: 306

Re: New FTDN June/Junio 2019 (FWH 19.06)

... o algunos de los siguientes ', ", [. Sólo los caracteres especificados se consideran caracteres de comillas. - Los parámetros cnStart y cnEnd también pueden ser cadenas. Si la búsqueda nStart especificada comienza después de cStart en cString, si se encuentra, desde esa posición, en caso ...
by Antonio Linares
Tue Jul 16, 2019 11:19 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio 2019 (FWH 19.06)
Replies: 4
Views: 2744

New FTDN June/Junio 2019 (FWH 19.06)

... string containing any or some of ', ", [. Only the characters specified are considered as quote characters. - Parameters cnStart and cnEnd can be strings also. If specified nStart search starts after cStart in cString, if found and otherwise from 1. nEnd is character befpre cEnd if ...
by Antonio Linares
Thu Jul 11, 2019 6:14 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio 2019 (FWH 19.06)
Replies: 4
Views: 2744

FWH1905: FW_AT() Case insensitive search

We frequently use the functions AT( cSearch, cStr, [nFrom], [nEnd] ) // xHarbour AT( cSearch, cStr ) // Harbour HB_AT( cSearch, cStr, [nFrom], [nEnd] ) // Harbour In many cases, we may need to convert both cSearch and cStr to Upper/Lower case for the search. ...
by nageswaragunupudi
Wed Jun 26, 2019 4:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH1905: FW_AT() Case insensitive search
Replies: 0
Views: 570

Re: New FTDN May/Mayo 2019 (FWH 19.05)

... disponible. * Comparación y comparación de cadenas, insensible a mayúsculas y minúsculas: - Nueva función FW_AT( cSearch, [@]cString, [nStart], [nEnd], [ lWholeWord], [lSkipQuotes],[@cFound], cReplace, lAll ) --> nAt (o aMatches, si lAll es .T. ) Igual que AT() o HB_AT(), pero no distingue ...
by Antonio Linares
Fri Jun 07, 2019 11:14 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN May/Mayo 2019 (FWH 19.05)
Replies: 4
Views: 3158

New FTDN May/Mayo 2019 (FWH 19.05)

... if Segoe MDL2 Assets font is available * Case insensitive string comparision and matching: - New function FW_AT( cSearch, [@]cString, [nStart], [nEnd], [ lWholeWord], [lSkipQuotes],[@cFound], cReplace, lAll ) --> nAt (or aMatches, if lAll is .t. ) Same as AT() or HB_AT(), but case insensitive, ...
by Antonio Linares
Mon Jun 03, 2019 12:54 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN May/Mayo 2019 (FWH 19.05)
Replies: 4
Views: 3158
Next

Return to advanced search