Hola otra vez. No se donde colocar los DbeInfo() para conseguir manejar simultaneamente las tablas de FOX2.6 sin perder compatibilidad con la aplicacion actual.
Gracias por vuestra ayuda.
FOXDBE_CREATE_2X
The FOXDBE can manage database files in FoxPro 2.x/Comix or Visual FoxPro format. The following lines show how to select the DBF format:
// The following two lines configure the FOXDBE to create
// FoxPro 2.x compatible files and use a FoxPro 2.x compatible
// locking scheme.
//
DbeInfo( COMPONENT_DATA, FOXDBE_CREATE_2X, .T. )
DbeInfo( COMPONENT_DATA, FOXDBE_LOCKMODE , FOXDFBE_LOCKMODE_2X )
// The following two lines configure the FOXDBE to create
// FoxPro 2.x compatible files and use a Comix/Clipper compatible
// locking scheme.
//
DbeInfo( COMPONENT_DATA, FOXDBE_CREATE_2X, .T. )
DbeInfo( COMPONENT_DATA, FOXDBE_LOCKMODE , FOXDFBE_LOCKMODE_CLIPPER )
// The following two lines configure the FOXDBE to create
// Visual FoxPro compatible files and use a Visual FoxPro compatible
// locking scheme. (default configuration)
//
DbeInfo( COMPONENT_DATA, FOXDBE_CREATE_2X, .F. )
DbeInfo( COMPONENT_DATA, FOXDBE_LOCKMODE , FOXDFBE_LOCKMODE_VISUAL )
Note: It is recommend to setup new tables using the Visual FoxPro compatible file format and locking scheme. This will ensure the best performance when working with DBF tables.