hb_cdxPageSeekKey

hb_cdxPageSeekKey

Postby cdmmaui » Mon Oct 22, 2007 12:29 pm

Hello,

I am trying to read and write information to a xBase++ database (RDD=FOXCDX) application from my xHarbour/FWH application. However, I continue to receive the following error = hb_cdxPageSeekKey - wrong parent key. What can I do to eliminate the error. How can I change the xBase++ application to DBFCDX so the memo fields are read properly? I tried to change the xBase++ before but had problems with the memo fields not reading properly when using DBFCDX. Thank you in advance for your help!

Sincerely,
*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
User avatar
cdmmaui
 
Posts: 689
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong

Postby Antonio Linares » Mon Oct 22, 2007 2:36 pm

Darrell,

I forward your question to the [x]Harbour RDD's guru Przemek

I will let you know what he says
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41408
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby cdmmaui » Mon Oct 22, 2007 4:50 pm

Thank you Antonio
*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
User avatar
cdmmaui
 
Posts: 689
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong

Postby cdmmaui » Mon Oct 22, 2007 5:17 pm

Antonio,

I am try to build the search keys using xHarbour. Will the xBase++ corrupt the keys when writing to the database and index files?
*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
User avatar
cdmmaui
 
Posts: 689
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong

Postby Antonio Linares » Mon Oct 22, 2007 6:09 pm

Darrell,

I can't say it for sure, but its a good practise not to use different RDD engines even if they are supossedly compatibles
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41408
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby cdmmaui » Tue Oct 23, 2007 4:01 pm

Antonio,

I added the following code to the xBase++ dbesys after the
DbeBuild( 'FOXCDX', 'FOXDBE', 'CDXDBE' ) function

DbeInfo( COMPONENT_DATA, FOXDBE_CREATE_2X, .T. )

DbeInfo( COMPONENT_DATA, FOXDBE_LOCKMODE, FOXDBE_LOCKMODE_2X )

And the application seems to working ok and we have not received any error messages.

Regards,
*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
User avatar
cdmmaui
 
Posts: 689
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong

Postby Antonio Linares » Tue Oct 23, 2007 7:10 pm

Excellent! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41408
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Barry O'Brien » Mon Dec 10, 2007 9:58 am

Hi All,

I have been experiencing the same error mentioned in this topic as well as another:

hb_cdxPageSeekKey: wrong parent key
hb_cdxIndexPageRead: read index page failed

I am using latest xHarbour.com release and Fivewin 7.05 reading\writing to standard DBF files using DBFCDX.

When one of these errors occurs it has the effect of writing zeroes to the DBF where I would expect a normal number (e.g. 176547). This number is part of an index so obviousy I get data integrity errors from here on in!

I'm trying to find out some more information about where the error occurs, but in the meantime I'm not really sure where to start looking so any suggestions gratefully received!

Kind regards,

Barry
Barry O'Brien
 
Posts: 9
Joined: Tue Aug 28, 2007 9:09 am
Location: Oxford, England

Postby Antonio Linares » Mon Dec 10, 2007 10:06 am

Barry,

Are you also accessing the DBF from XBase++ besides xHarbour ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41408
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Barry O'Brien » Mon Dec 10, 2007 10:08 am

Hi Antonio,

No I am only accessing the DBF via xHarbour.

Kind Regards,

Barry
Barry O'Brien
 
Posts: 9
Joined: Tue Aug 28, 2007 9:09 am
Location: Oxford, England

Postby Antonio Linares » Mon Dec 10, 2007 10:12 am

Barry,

Then if you are using the latest xHarbour.com release, you should report it to xHarbour.com as it seems a RDD issue

FWH does not modify or interfere in the RDD activity
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41408
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Barry O'Brien » Mon Dec 10, 2007 10:21 am

Thanks Antonio,

When I get an answer from xHarbour.com I will post it here in case it can help anyone else in future.

Kind regards,

Barry
Barry O'Brien
 
Posts: 9
Joined: Tue Aug 28, 2007 9:09 am
Location: Oxford, England

Postby Antonio Linares » Mon Dec 10, 2007 10:39 am

Barry,

many thanks!
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41408
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 35 guests