Hi Przemek,
Message: 2
Date: Mon, 9 Nov 2009 13:28:00 +0100
From: Przemys?aw Czerpak <[email protected]>
Subject: Re: [Harbour] Re: DbSeek() Problem with latest SVN
To: "Harbour Project Main Developer List."
        <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8

On Mon, 09 Nov 2009, Mario H. Sabado wrote:

Hi Mario,

> >I had encountered problem with the latest SVN with DbSeek(). It
> >always return .F. in my case after reindexing and re-creating
> >index.   I'm using DBFNTX and BCC62 under WinXP SP3.
> >Thanks for any advise.
> I'm guessing it does not accept partial index key?  For example I
> have an index key of ACCT_SRC+ACCT_NO and I only specify a valid
> value for ACCT_SRC will always return .F.  Same case with single
> index key using partial valid value returns .F.

Please test it after:

2009-11-09 13:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/src/rtl/cdpapi.c
    ! fixed very bad typo in new CDP API code - hb_cdpnDup2() was not updating
      original string size. This bug was critical for RDDs.

It was very serious bug, i.e. in DBF tables chr(0) was stored for each
string shorter then field size and in DBFNTX such chr(0) was stored in
index key used for seek.

Many bad side effects due to missed '* pulDst = ' in cdpapi.c[1364] :(
best regards,
Przemek
It now works fine as after above modification. Thank you very much for the usual support.

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

Reply via email to