Ver Mensaje Individual
  #1  
Antiguo 18-09-2007
Avatar de casacham
casacham casacham is offline
Miembro
 
Registrado: abr 2006
Ubicación: Cordoba->Argentina. Arboleas->Almeria->España
Posts: 184
Reputación: 19
casacham Va por buen camino
Cool Objetos no tradicionales

Hola a toda la gente del foro.
Quisiera saber si existen otros objetos que no sean ADO y de BDE para conectarse a los ficheros .mdb (bases de datoas creadas con acces)?
Por ejemplo TADOTable carga el juego de datos completamente en la memoria, y por mas que setee MaxRecords a un numero diferente de 0 y CacheSize distinto de 0 lo sigue haciendo.
Adjunto texto de ayuda para aclarar de que estoy hablando


Código Delphi [-]
Set CacheSize to control how many rows the ADO dataset’s provider keeps cached in its buffer and how many to retrieve at one time into local memory. Default value of CacheSize is 1 and the minimum allowed value is 1.
For example, if CacheSize is set to 20, when the dataset is first activated the associated provider retrieves the first 20 rows into local memory. As the row pointer is moved through this recordset, the provider retrieves the data from the local memory buffer. If the dataset’s row pointer moves beyond the last of these 20 buffered rows, the provider retrieves the next 20.
CacheSize represents the maximum number of rows to retrieve at one time. If the number of rows remaining to be retrieved is less than CacheSize, the remaining rows are retrieved and no exception is raised. The number of rows that can be returned by the provider can be less than all of the rows if the ADO dataset component
’s MaxRecords property is set to other than the default (all rows).

Note: The rows retrieved from the cache do not reflect any changes made by other concurrent users of the data.
Responder Con Cita