OrdKeyCount Problem

OrdKeyCount Problem

Postby Adolfo » Thu Dec 17, 2009 2:01 am

Hi everyone

I'm having problems with a routine to rebuild my indexes.
Ordkeycount() is not returning the actual number of keys for a given CDX.

Is not a big problem, but it bothers me.
I'm using last xHarbour from FIVETECH

Any help would be appreciated.

From Chile
Adolfo
;-) Ji,ji,ji... buena la cosa... "all you need is code"

http://www.xdata.cl - Desarrollo Inteligente
----------
Asus TUF F15, 32GB Ram, 2 * 1 TB NVME M.2, GTX 1650
User avatar
Adolfo
 
Posts: 860
Joined: Tue Oct 11, 2005 11:57 am
Location: Chile

Re: OrdKeyCount Problem

Postby Enrico Maria Giordano » Thu Dec 17, 2009 10:30 am

I'm not aware of problems in OrdKeyCount() (I'm using it estensively in my apps). Can you show a sample demonstrating the problem you are facing?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: OrdKeyCount Problem

Postby Adolfo » Thu Dec 17, 2009 11:45 am

Enrico...
Thanks for you interest.
I found the error, it was my mistake. While using OrdKeyCount on some opened DBF's I use an array of names and indexes, well the pointer to this array was mistaken.
It seems that working till late at nite, after a busy day was not a good idea.

Thanks

From Chile
Adolfo
;-) Ji,ji,ji... buena la cosa... "all you need is code"

http://www.xdata.cl - Desarrollo Inteligente
----------
Asus TUF F15, 32GB Ram, 2 * 1 TB NVME M.2, GTX 1650
User avatar
Adolfo
 
Posts: 860
Joined: Tue Oct 11, 2005 11:57 am
Location: Chile

Re: OrdKeyCount Problem

Postby Silvio » Thu Dec 17, 2009 11:51 am

ADOLFO

INSERT ON MAIN AT TOP THESE LINES


REQUEST DBFCDX, DBFFPT
external ordkeyno, ordkeycount,ordcreate,ordkeygoto
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: OrdKeyCount Problem

Postby Enrico Maria Giordano » Thu Dec 17, 2009 12:17 pm

Adolfo wrote:It seems that working till late at nite, after a busy day was not a good idea.


:-)

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 31 guests