Page 1 of 1

FW_CdxCreate()

Posted: Wed Dec 09, 2020 12:42 pm
by Silvio.Falconi
this function can have option ?
sample : FOR NOT DELETED()

Re: FW_CdxCreate()

Posted: Fri Dec 11, 2020 2:40 pm
by nageswaragunupudi
No, please.

Re: FW_CdxCreate()

Posted: Sat Dec 12, 2020 3:54 pm
by Silvio.Falconi
nageswaragunupudi wrote:No, please.
??????
why ?

Re: FW_CdxCreate()

Posted: Sat Dec 12, 2020 4:01 pm
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() !!!!

Re: FW_CdxCreate()

Posted: Sat Dec 12, 2020 4:49 pm
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.

Re: FW_CdxCreate()

Posted: Wed Dec 16, 2020 10:32 pm
by Silvio.Falconi
Nages, I was making a small dbu for myself and thought fw_createcdx could be useful to me