Search found 28 matches: atemp

Return to advanced search

Re: Creating table with Trichedit

... file error and office won rd doesn't open table.rtf for me I explain you I have a Do while loop Function Print_Schedule() Local aTable,a1,n,aTemp,x,aFlags:={} local c1,c2 local cFileName := "table.rtf" local oFile := FCreate(cFileName, 0) aTable := {} Do while (!oTemp4:Eof()) * ...
by Silvio.Falconi
Thu Jan 25, 2024 10:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 1457

DBF REDE/WEB WINDOWS 7/10/11

... LOCAL aRet := {} LOCAL dData LOCAL nSele := Select() LOCAL cAvulso LOCAL cField, nLen LOCAL oMes,oEmp,oAvu LOCAL oPan, aCargo, cAno,lAllOk, nPos, aTemp, a // LOCAL cComp LOCAL nConti:=0 LOCAL nContador :=0 LOCAL nContador2:=0 local lEnd := .f. PUBLIC cComp PUBLIC cMesANO oPan := SWPanelWindow( ...
by wanderson8
Sun Jan 08, 2023 3:10 pm
 
Forum: All products support
Topic: DBF REDE/WEB WINDOWS 7/10/11
Replies: 0
Views: 9382

Re: Creation an array Multiple on Horizontal on Xbrowse

Do you mean that each group browses a different array ?? No they must be displayed vertically in the same way as I created the first one AaDd(aTemp,{ aRuote[1], oDbf:ba1,oDbf:ba2,oDbf:ba3,oDbf:ba4,oDbf:ba5 }) for example for the first line the first column remains unchanged (name of the wheel) ...
by Silvio.Falconi
Tue Sep 27, 2022 9:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creation an array Multiple on Horizontal on Xbrowse - RESOLV
Replies: 7
Views: 770

show only some records on Xbrowse ( nRecords, year)

... default 10 records I use Tdatabase and made a Set 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)  ...
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: 623

Re: Help with ascan

... make oRit:= TDatabase():Open( , cDir+"lotto", "DBFCDX", .T. ) oRit:setorder(0) oRitardo:gobottom() nUltimo:= oRitardo:recno() aTemp:=oRit:dbftoarray() ritardo:= Rit( aTemp, number, npos,nUltimo ) Function Rit( aData, numero, npos, nLast ) local nCount := -1 nPos += 2 AEval( ...
by Silvio.Falconi
Fri May 13, 2022 6:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help with ascan
Replies: 16
Views: 915

Create variables on memory

... c2:= "0103" c3:= "0104" from this array https://i.postimg.cc/L4t7rWGN/o.png I tried with For n=1 to Len(atemp) c:= atemp[n][1] cStringa:=ltrim(str(atemp[n][2]))+ltrim(str(atemp[n][3])) &c:= cStringa next but not work How I can resolve ?
by Silvio.Falconi
Mon May 02, 2022 11:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create variables on memory
Replies: 2
Views: 265

How write a right name of a field

... ok I tried also with fieldWBlock(cField,oDbf:nArea ) It return me an array https://i.postimg.cc/0QvnXYWh/jj.png I try also with atemp:= fieldWBlock(cField,oDbf:nArea ) nNumero := atemp[1][1] but not is correct How I can take it ?
by Silvio.Falconi
Thu Apr 28, 2022 11:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How write a right name of a field
Replies: 6
Views: 481

Re: add a number on Random

... FLAT OF oDlg TOOLTIP "Aggiungi un numero"; action OneNumb(oBtnNum, oSay,@aNatural ) ..... Function OneNumb(oCmb, oSay,aNatural ) local atemp := {} local nAt,nAp local cNum //check and del to aNatural the numbers are allready on alista For n=1 to Len(aLista) cNum:= alista[n] nAp:= AScan( ...
by Silvio.Falconi
Sat Mar 26, 2022 10:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: add a number on Random
Replies: 8
Views: 451

Re: add a number on Random

... 1, Len( aNatural ) ), ; AAdd( aLista, aNatural[ nAt ] ), ; HB_ADel( aNatural, nAt, .t. ), ; AddOne(oBtnNum,aLista,oSay) ) Function AddOne(oCmb,atemp,oSay) For n= 1 to Len(atemp) idcheck:= atemp[n] oCmb[idcheck]:cargo:=1 // I need to change the cargo of btnbmp SetStatus( oCmb[idcheck],oSay) ...
by Silvio.Falconi
Sat Mar 26, 2022 8:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: add a number on Random
Replies: 8
Views: 451

add a number on Random

... 90 numbers, one at a time, the random ones. Whenever I extract a number, it is necessary to check if it already exists in a list array and in an atemp array. I created the function OneNumb(oSay) but I saw that after about 63 numbers the procedure freezes and crashes, once I got to 82 numbers ...
by Silvio.Falconi
Sat Mar 26, 2022 10:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: add a number on Random
Replies: 8
Views: 451

Order an array

I have this array https://i.postimg.cc/c1Ps6WWX/hhhh.png AaDd(atemp,{strzero(n,4),; SP->elemento,; SP->desc,; SP->settore,; nGiorni,; aPrices[k],; lIslock,; aListini[k][2] } ) the user found problems to modify the price and he wish see ...
by Silvio.Falconi
Mon Feb 24, 2020 11:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Order an array
Replies: 2
Views: 534

Another test with FW_DbfToArray

... atemp:=oTariffe:FW_DbfToArray( cFieldList, { || oTariffe:TACANCEL=.F.  } ) the procedure not run ok, so on atemp array the procedure ...
by Silvio.Falconi
Sat Jul 20, 2019 4:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another test with FW_DbfToArray
Replies: 0
Views: 316

Re: check on a archive from a array- resolved

... I can delete only the records having tacancel:= .t. oTariffe:ORDSCOPE(0, NIL ) // reset oTariffe:ORDSCOPE(1, NIL ) // reset oTariffe:GoToP() atemp:=oTariffe:FW_DbfToArray( cFieldList, { || oTariffe:TACANCEL=.t. } ) xbrowser atemp https://i.postimg.cc/g0414WmZ/hhhhh.png Finally, ...
by Silvio.Falconi
Thu Jul 18, 2019 4:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: check on a archive from a array- resolved
Replies: 7
Views: 953

Re: Declareing locals

local aTemp := {}

is equivalent to

local aTemp
aTemp = {}

The advantage is that the first form is more compact, I presume.

EMG
by Enrico Maria Giordano
Wed May 01, 2019 6:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Declareing locals
Replies: 10
Views: 892

Re: Declareing locals

This is a simple declaration:

local aTemp

while this other is a declaration with initialization:

local aTemp := {}

In the simple declaration the value of aTemp is NIL. After the initialization the type of aTemp is array and its value is an empty array.

EMG
by Enrico Maria Giordano
Wed May 01, 2019 5:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Declareing locals
Replies: 10
Views: 892
Next

Return to advanced search