Página 1 de 1

:aFields not updated / TDbfDataSet - bug??

Publicado: Mié Oct 07, 2015 5:58 pm
por Hurricane
The second time you open a DBF in the same TDbfDataSet, :aFields the property is not updated.
It is correct only the first time a DBF is opened. This missing something?

Código: Seleccionar todo

   if ::oDlgOpenDBF:run()
      ::oDbDBF:Close()
      ::oDbDBF:cName:=::oDlgOpenDBF:cFileName
      try
         ::oDbDBF:Open()
         //Here you can see (:aFields) the problem by DEBUG when it opens a DBF the second time
         ...
         
      catch
         ....
      end
      ...
   endif
note: The components (TDB DataSet, TO DataSource) were created in Designer

Re: :aFields not updated / TDbfDataSet - bug??

Publicado: Mié Oct 14, 2015 1:48 pm
por Hurricane
no one knows if it's a bug or how to solve? or the Xailer team ???