... 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 ...
Search found 329 matches: passing
Searched query: passing
- 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: 2035
- 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: 2835
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
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
- 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: 2835
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 code for index.php just to send the idea ...
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 code for index.php just to send the idea ...
- Mon Jul 29, 2024 9:13 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Advantages of a Patcher and Preprocessor over OOP
- Replies: 1
- Views: 570
Advantages of a Patcher and Preprocessor over OOP
... 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 ...
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 ...
- Tue May 14, 2024 7:13 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: passing a value through a for..next loop
- Replies: 14
- Views: 2913
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 ...
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 ...
- Mon May 13, 2024 7:07 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: passing a value through a for..next loop
- Replies: 14
- Views: 2913
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 ...
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 ...
- Mon May 13, 2024 6:54 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: passing a value through a for..next loop
- Replies: 14
- Views: 2913
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 DBFCDX
function Main()
local oDlg ...
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 DBFCDX
function Main()
local oDlg ...
- Mon May 13, 2024 9:38 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: passing a value through a for..next loop
- Replies: 14
- Views: 2913
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 ...
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 ...
- Mon May 13, 2024 8:17 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: passing a value through a for..next loop
- Replies: 14
- Views: 2913
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
The main question was about creating controls in for/next loop.
That is answered satisfactorily.
You can take care of the rest yourself
- Mon May 13, 2024 7:18 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: passing a value through a for..next loop
- Replies: 14
- Views: 2913
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 ...
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 ...
- Mon May 13, 2024 7:06 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: passing a value through a for..next loop
- Replies: 14
- Views: 2913
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 ...
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 ...
- Mon May 13, 2024 6:51 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: passing a value through a for..next loop
- Replies: 14
- Views: 2913
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 the ...
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 the ...
- Sun May 12, 2024 2:57 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: passing a value through a for..next loop
- Replies: 14
- Views: 2913
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 ...
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 ...
- Sun May 12, 2024 1:12 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: passing a value through a for..next loop
- Replies: 14
- Views: 2913
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.
Trying to define control this way inside a codeblock will result "variable out of reach" compilation error.
- Fri May 10, 2024 2:11 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: passing a value through a for..next loop
- Replies: 14
- Views: 2913
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 )
}
Eval(b, n)
aCheck[n]:lTransparent:=.t.
ncol+=160
if n=3
exit
endif
Next
Compiling 'test.prg ...
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 )
}
Eval(b, n)
aCheck[n]:lTransparent:=.t.
ncol+=160
if n=3
exit
endif
Next
Compiling 'test.prg ...