FW_CdxCreate()

Post Reply
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

FW_CdxCreate()

Post by Silvio.Falconi »

this function can have option ?
sample : FOR NOT DELETED()
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: FW_CdxCreate()

Post by nageswaragunupudi »

No, please.
Regards

G. N. Rao.
Hyderabad, India
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: FW_CdxCreate()

Post by Silvio.Falconi »

nageswaragunupudi wrote:No, please.
??????
why ?
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: FW_CdxCreate()

Post by Silvio.Falconi »

for me this expr is wrong

if lMemory
INDEX ON RECNO() TAG RECYCLE FOR DELETED() MEMORY ADDITIVE
else
INDEX ON RECNO() TAG RECYCLE FOR DELETED()
endif

what need index a dbf for the records deleted ?
I need to index dbf for .not. deleted() !!!!
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: FW_CdxCreate()

Post by nageswaragunupudi »

for me this expr is wrong
Why is it WRONG?
what need index a dbf for the records deleted ?
This index is created if and only if the programmer has set FW_SetRecycleDeleted( .t. ) and this index is used for recycling deleted records. In your case, this index is not created because you did not choose recycling by setting this flag.
I need to index dbf for .not. deleted() !!!!
Then, instead of using FW_CdxCreate() function, please create indexes directly, as you have been doing it now.
Regards

G. N. Rao.
Hyderabad, India
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: FW_CdxCreate()

Post by Silvio.Falconi »

Nages, I was making a small dbu for myself and thought fw_createcdx could be useful to me
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Post Reply