On Fri, 25 Jul 2008, Alex Strickland wrote:

Hi Alex,

> I wondered if you had seen this message :
> http://groups.google.com/group/comp.lang.xharbour/browse_thread/thread/7aa2ef0f105876e8#

Yes, I did.

> which points towards a small bug?

Just check it with CL53. In CDX is conversion to custom is not
revertable and this is replicated in Harbour. It's only logical
flag and can be easy removed if you do not like it. It's enogh
to delete from dbfcdx1.c[8261] this lines:

         /* This is a hacks to emulate both SIX3 and COMIX behavior
          * which should be cleaned. I intentionally not used
          * HB_SIXCDX macro here [druzus]
          */
         if( pTag->Custom )
            pTag->Template = pTag->MultiKey = TRUE;

or change it to:

         if( pTag->Custom )
            pTag->MultiKey = TRUE;

if need the possibility of adding the same key value with the same
recno to the custom index just like in CL53 and COMIX CDX RDDs.

Please note that CDX does not have real support for DBOI_TEMPLATE and
DBOI_MULTIKEY which I implemented so far only for DNFNTX and DBFNSX.

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to