In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

DataSet:Close()

Xailer professional forum in English
Aguiar Costa
Mensajes: 115
Registrado: Jue Jun 01, 2006 7:21 pm

DataSet:Close()

Mensaje por Aguiar Costa »

Hello !!!
I have a DbfDataset that i use to open a table A or a table B as the user
shooses one or another...To do that i close the Dataset, change the table
name and open it again. It works. The problem is that although the name and
records of the table is changed the DbfDataset:aFields is never changed. To
solve this I had to destroy the Dataset object ( :End() ) and create it
again.
Attached is a sample that shows that Dataset:aFields is allways the same.
Is this the normal behavior ?
TIA.
Aguiar !!!


Attached files DataSet.zip (2.1 KB)Â
Responder