FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FW_CdxCreate()
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
FW_CdxCreate()
Posted: Wed Dec 09, 2020 12:42 PM
this function can have option ?
sample : FOR NOT DELETED()
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: FW_CdxCreate()
Posted: Fri Dec 11, 2020 02:40 PM

No, please.

Regards



G. N. Rao.

Hyderabad, India
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: FW_CdxCreate()
Posted: Sat Dec 12, 2020 03:54 PM
nageswaragunupudi wrote:No, please.

??????
why ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: FW_CdxCreate()
Posted: Sat Dec 12, 2020 04:01 PM

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() !!!!

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: FW_CdxCreate()
Posted: Sat Dec 12, 2020 04:49 PM
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
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: FW_CdxCreate()
Posted: Wed Dec 16, 2020 10:32 PM

Nages, I was making a small dbu for myself and thought fw_createcdx could be useful to me

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion