Search found 329 matches: passing

Return to advanced search

Re: DBF How to obtain an array containing record number

... without necessarily scrolling the dbf table Are there any functions among all index functions that permits to me to obtain the record number passing the key value? Only reading cdx files? I ask this because from my tests the DO WHILE !EOF() SKIP ENDDO loop is very very slow if the table is ...
by MarcoBoschi
Thu Oct 10, 2024 8:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF How to obtain an array containing record number
Replies: 16
Views: 487

Re: How to Work with FIVEWIN and Web Side by Side - An Easy Way

Hello Roberto,

Thank you. In your case, if I understand the code correctly, you would have a PHP endpoint that receives the response and then calls an executable with parameter passing.

I will run a test to see how fast the execution is here.

Best regards,
Otto
by Otto
Fri Aug 30, 2024 1:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to Work with FIVEWIN and Web Side by Side - An Easy Way
Replies: 9
Views: 1679

Re: How to Work with FIVEWIN and Web Side by Side - An Easy Way

Hi Otto, my simple solution is to call the fivewin.exe from php simply passing the parameters I receive from Apache server. The environment is a Windows VPS server with Apache + Php installed but I think it would run on Linux also this is a very simplified ...
by chiaiese
Fri Aug 30, 2024 10:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to Work with FIVEWIN and Web Side by Side - An Easy Way
Replies: 9
Views: 1679

Advantages of a Patcher and Preprocessor over OOP

... budgets. Reduced Training Effort : Less training and education required, saving costs. Simplified Variable and Parameter Management :Less Variable Passing: By dividing the code into logical units, the need to pass variables and parameters back and forth is often eliminated, making the code clearer ...
by Otto
Mon Jul 29, 2024 9:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Advantages of a Patcher and Preprocessor over OOP
Replies: 1
Views: 271

Re: passing a value through a for..next loop

I tried to pass nIndex in the for next loop to bchange and the value is always the same We need to keep in mind at all times, NOT to use loop variables in building code-blocks inside a loop. Build the code-block in a separate function using the loop variable as one of the parameters of the function...
by Silvio.Falconi
Tue May 14, 2024 7:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 2083

Re: passing a value through a for..next loop

I tried to pass nIndex in the for next loop to bchange and the value is always the same We need to keep in mind at all times, NOT to use loop variables in building code-blocks inside a loop. Build the code-block in a separate function using the loop variable as one of the parameters of the function...
by nageswaragunupudi
Mon May 13, 2024 7:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 2083

Re: passing a value through a for..next loop

I use tdatabase and I have modify if Empty( cFilter ) oDbf:Clearfilter() else odbf:dbsetfilter( cFilter) endif But Not work It should be simple to change and make it work. I made these 6 minor changes and it works well. #include "fivewin.ch"REQUEST DBFCDXfunction Main()  &nbs...
by nageswaragunupudi
Mon May 13, 2024 6:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 2083

Re: passing a value through a for..next loop

Mr Silvio The main question was about creating controls in for/next loop. That is answered satisfactorily. You can take care of the rest yourself Nages the main question was not about creating controls in for/next loop but to passa a value to bchange function I tried to pass nIndex in the for next ...
by Silvio.Falconi
Mon May 13, 2024 9:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 2083

Re: passing a value through a for..next loop

Mr Silvio

The main question was about creating controls in for/next loop.
That is answered satisfactorily.

You can take care of the rest yourself
by nageswaragunupudi
Mon May 13, 2024 8:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 2083

Re: passing a value through a for..next loop

The problem of creating controls using loop variables in a loop is well known and was discussed many times in this forum. The solution is to create each control in a separate function using the principle of detached locals. Search for detached locals in this forum. The sample provided by Mr. Antoni...
by Silvio.Falconi
Mon May 13, 2024 7:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 2083

Re: passing a value through a for..next loop

This is a interesting sample for filtering.... Mr. Rao, Would you please be so kind to enhance this sample so that there is a second combobox selecting ages like (20 - 40 - 50 etc) and state like (NY, WY etc) Any small sample with more combo's will de ok. Please use the array's as data because I wan...
by Marc Venken
Mon May 13, 2024 7:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 2083

Re: passing a value through a for..next loop

Mr. paquitohm Trying to define control this way inside a codeblock will result "variable out of reach" compilation error. Hi to all, That's right, mr. nageswaragunupudi IMHO something is wrong in harbor codeblocks because SI should function at least as a LOCAL variable. The problem is in ...
by paquitohm
Mon May 13, 2024 6:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 2083

Re: passing a value through a for..next loop

The problem of creating controls using loop variables in a loop is well known and was discussed many times in this forum. The solution is to create each control in a separate function using the principle of detached locals. Search for detached locals in this forum. The sample provided by Mr. Antonio...
by nageswaragunupudi
Sun May 12, 2024 2:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 2083

Re: passing a value through a for..next loop

Mr. paquitohm
Trying to define control this way inside a codeblock will result "variable out of reach" compilation error.
by nageswaragunupudi
Sun May 12, 2024 1:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 2083

Re: passing a value through a for..next loop

For n= 1 to len(aFilters)b:= {|n|        @ nRow, nCol CHECKBOX aCheck[n] VAR aFilters[n][1]  ;               PROMPT aFilters[n][2]  OF  oBox[1] SIZE 150,15 PIXEL;                 ON CHANGE Filtrare( n, oBrw, oDbf,oBox )      }...
by Silvio.Falconi
Fri May 10, 2024 2:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 2083
Next

Return to advanced search