Page 2 of 2

Re: replace problem in large DBF

Posted: Fri Sep 20, 2019 10:53 am
by Auge_Ohr
Victorio wrote: DBF I created with Visual Foxpro, because when create with Dbcreate() I had some problems with header in table, which is not compatible with VFP - byte 30/31 , I do not remember what problem was but now I have template DBF and word DBF created simply with filecopy().

Code: Select all

DbeSetDefault( "FOXCDX" )        // toto bolo
*DbeSetDefault( "DBFCDX" )        // toto iba som skúšal, ale bez rozdielu
DbeInfo(COMPONENT_DATA,  FOXDBE_LIFETIME,       20 )    && bielik
RETURN .t.
i do not see

Code: Select all

  DbeInfo( COMPONENT_DATA, FOXDBE_CREATE_2X, .F. ) 
  DbeInfo( COMPONENT_DATA, FOXDBE_LOCKMODE , FOXDFBE_LOCKMODE_VISUAL ) 
which is NEED for Visual FoxPro
also i recommend to set FOXDBE_LIFETIME to 0 in Network