Página 1 de 1

DataSet:Close()

Publicado: Vie Jul 21, 2006 9:27 pm
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)Â