Page 1 of 1

Same DBF with Harbour / xHarbour applications

Posted: Fri Jan 15, 2021 9:48 am
by cnavarro
Has anyone used the same DBFs from different applications made in Harbour and xHarbour at the same time? Have you had any problem with the indexes or of any other kind?

Re: Same DBF with Harbour / xHarbour applications

Posted: Fri Jan 15, 2021 12:10 pm
by Antonio Linares

Re: Same DBF with Harbour / xHarbour applications

Posted: Fri Jan 15, 2021 1:32 pm
by Maurizio
Yes
yes I use it with both, I have not found any problem. I use this config

REQUEST DBFCDX
rddsetdefault( "dbfcdx" )
REQUEST DBFFPT
SET DBFLOCKSCHEME TO 2 // clp53
REQUEST HB_LANG_IT
HB_LANGSELECT( 'IT' )
#ifndef __XHARBOUR__
request HB_CODEPAGE_ITWIN
set( _SET_CODEPAGE, "ITWIN" )
#endif

Maurizio
www.nipeservice.com

Re: Same DBF with Harbour / xHarbour applications

Posted: Fri Jan 15, 2021 4:43 pm
by Jack
Hi,
I use the same DBF from different application in Network environement .

I am still using NTX and not CDX .

When it is possible a close and open the DBF + NTX after a write process .

I have a DBF with 100 000 records and 5 NTX files and have no corruption .
It is more than 10 years that i not have REINDEX this files.

Anyway, the future is SQL and it is the best think to do .
Realy fast and easy when you have relation between files .

Philippe