SET FILTER TO !DELETED()

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
AUGE_OHR
Posts: 2117
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

SET FILTER TO !DELETED()

Post by AUGE_OHR »

hi,

i notice when use

Code: Select all

SET FILTER TO !DELETED()
it does slow down BROWSE extrem :shock:

can someone confirm it or what do i miss :?:
have fun
Jimmy
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: SET FILTER TO !DELETED()

Post by andyglezl »

Andrés González López
Desde Guadalajara, Jalisco. México.
User avatar
AUGE_OHR
Posts: 2117
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: SET FILTER TO !DELETED()

Post by AUGE_OHR »

hi Andy,
andyglezl wrote: Thu Sep 01, 2022 5:32 am Jimmy did you see this?
https://www.hmgforum.com/viewtopic.php?p=45852#p45852
to "transfer" Record into Array is a Option but i´m not sure if !DELETED() will make a Difference.

---

i normal use !DELETED() in Index, while have to lot of DELETE in a Day Work which slow down.
but under HMG there is a big Difference when use !DELETED() in FILTER which i have not seen before.

while "phpBB Forum Reader" is "read only" there are no DELETED() Record and i have remove it from FILTER

now i have learn that !DELETED() is not a Option for HMG

thx for help
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2117
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: SET FILTER TO !DELETED()

Post by AUGE_OHR »

hi Andy,

when read that Thread where you point to i got a Idea / Question :
it it possible to build a Tree this Way :idea:

i do have Index
STRZERO(TOPICNO,5)+DTOS(TDATE)+TTIME
from all with same TOPICNO i want Tree-Node
but TOPICNO can be > 42000 ...

while i can "see" only Part of hole Tree the Idea is to "fill" it "dynamic" ...
have fun
Jimmy
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: SET FILTER TO !DELETED()

Post by andyglezl »

No estoy seguro si entendí tu pregunta.
Puedes ver algo del Tree aquí...
*---------------------------------------------------------------
I'm not sure if I understood your question.
You can see some of the Tree here...

https://hmgforum.com/viewtopic.php?p=36243#p36243
Andrés González López
Desde Guadalajara, Jalisco. México.
User avatar
dragancesu
Posts: 931
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

Re: SET FILTER TO !DELETED()

Post by dragancesu »

I'm not sure I understood your question

1. set filter to !deleted() is SET DELETED ON , this command hide deleted records

2. in this case STR[ZERO](TOPICNO,5)+DTOS(TDATE)+TTIME look https://vivaclipper.wordpress.com/2014/01/19/str/
User avatar
AUGE_OHR
Posts: 2117
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: SET FILTER TO !DELETED()

Post by AUGE_OHR »

hi Serge,
dragancesu wrote: Thu Sep 01, 2022 6:59 pm 1. set filter to !deleted() is SET DELETED ON , this command hide deleted records
this is right

but Index "does not know" deleted() so IHMO they are in Index
they will be "skipped" when use SET DELETED ON

when have !DELETED() in Index you will not "skip" Record which can be a lot during a Day
i do use these Technic when "edit" a Record to have a "Backup" of "old Data"

---

dragancesu wrote: Thu Sep 01, 2022 6:59 pm 2. in this case STR[ZERO](TOPICNO,5)+DTOS(TDATE)+TTIME
it is a different Idea

i have use that Index Expression for "DUPECHECK" but when got "new" Message to "old" Thread i do not "see" it
i have to change Index TAG, by click on Column Header, and use TAG "MSGDATE" which does not include STRZERO(TOPICNO,5)

now the Idea / Question was to build a TREE to display NODE of TOPICNO ...
or use Listview-Group like Outlook instead of BROWSE

but it must be "dynamic" while add "one-by-one" take too much Time

is there any Sample which "dynamic" build what i can "see" on Screen :?:
have fun
Jimmy
Post Reply