Hello,
Does anybody knows to change HMG EDIT EXTENDED filter options?
Now it says: 'Comparrission Operator:" Equal, Not equal,...
I want it to extend with the $ operator (as a LIKE or IN operator)
Serge
HMG EDIT EXTENDED
Moderator: Rathinagiri
- serge_girard
- Posts: 3309
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
HMG EDIT EXTENDED
There's nothing you can do that can't be done...
Re: HMG EDIT EXTENDED
Serge, could you create a temporary index
do your function. Then go back to normal index.
Franco
do your function. Then go back to normal index.
Franco
All The Best,
Franco
Canada
Franco
Canada
- serge_girard
- Posts: 3309
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: HMG EDIT EXTENDED
I made some changes to \source\EditEx\h_edit_ex.prg AND \source\h_init.prg.
I added the $ operator to _HMG_SYSDATA [ 129 ] [33]
This work.
Serge
I added the $ operator to _HMG_SYSDATA [ 129 ] [33]
This work.
Serge
There's nothing you can do that can't be done...
- serge_girard
- Posts: 3309
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: HMG EDIT EXTENDED
Franco,
In h_edit_ex.prg
In h_init.prg
And recompile all!
Regards, Serge
In h_edit_ex.prg
Code: Select all
Function ABM2EstableceFiltro()
aOperador := { "=", "<>", ">", "<", ">=", "<=", '$' }
..
DO CASE
CASE nCompara == 7 .AND. _aStructure[nCampo,DBS_TYPE] == "C" // IN-LIKE-$ OPERATOR SG NOV-2019
_cFiltro := "'" + HMG_UPPER( ALLTRIM( cValor ) ) + "'" + " $ HMG_UPPER(" + _cArea + "->" + ;
_aStructure[nCampo,DBS_NAME] + ")"
Code: Select all
For every language:
".Lower or Equal Than...",; // 32
"$" } // 33
Regards, Serge
There's nothing you can do that can't be done...