XBase - Indices FOXPRO2X

 
Vista:

Indices FOXPRO2X

Publicado por J (2 intervenciones) el 14/12/2007 21:09:47
Hola , por motivos de compatibilidad
¿como puedo conseguir que mis indices .CDX sean compatibles con FOXPRO 2.6. ?
Saludos y gracias a quien pueda responderme.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Indices FOXPRO2X

Publicado por J (2 intervenciones) el 15/12/2007 10:28:57
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.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar