HbDbu, ntx multitag

86 views
Skip to first unread message

Luigi Ferraris

unread,
Apr 13, 2015, 1:00:34 PM4/13/15
to qtcon...@googlegroups.com
Hi Pritpal,
using HbDbu with ntx multitag I see this "little" problem.

Multitag is set like this
         ::ordCondSet( "!DELETED()", {|| !DELETED()}, .T. )
         ::ordCreate( ::indexName(), "byCode", "prgcodeid", {|| FIELD->prgcodeid }, .F. )

         ::ordCondSet( "DELETED()", {|| DELETED()}, .T. )
         ::ordCreate( ::indexName(), "beDeleted", "RECNO()", {|| RECNO() }, .F. )
        
On current dbf there are 3 records and one of them is deleted.

ScreenShot001: I open dbf without any index. You can see all records. Ok
ScreenShot002: I have open ntx. You can see NOT deleted records. Ok
ScreenShot003: I will select the new tag. Ok
ScreenShot004: This is what I can see. Wrong: this record is not deleted
ScreenShot005: I have pressed button "GoTop". I can see the right record. Ok

IMHO: when tag is changed, a "GoTop" must be performed by default else wrong data are still shown.

BR
Luigi Ferraris
ScreenShot001.jpg
ScreenShot002.jpg
ScreenShot003.jpg
ScreenShot004.jpg
ScreenShot005.jpg

Pritpal Bedi

unread,
Apr 14, 2015, 3:42:30 PM4/14/15
to qtcon...@googlegroups.com
Hi Luigi

On current dbf there are 3 records and one of them is deleted.

ScreenShot001: I open dbf without any index. You can see all records. Ok
ScreenShot002: I have open ntx. You can see NOT deleted records. Ok
ScreenShot003: I will select the new tag. Ok
ScreenShot004: This is what I can see. Wrong: this record is not deleted
ScreenShot005: I have pressed button "GoTop". I can see the right record. Ok

IMHO: when tag is changed, a "GoTop" must be performed by default else wrong data are still shown.


A good catch, thanks, will fix shortly.


Pritpal Bedi
a student of software analysis & concepts 

Luigi Ferraris

unread,
Nov 3, 2015, 4:12:41 AM11/3/15
to QtContribs
Hi Pritpal,


> A good catch, thanks, will fix shortly.

Today I have used HbDbu, with multitag NTX index, but this problem is already present.

Best regards
Luigi
Reply all
Reply to author
Forward
0 new messages