You are not logged in.
Making testing programs, I noticed that the TSQLTableToGrid.Refresh procedure updates only using SQLite3. With External BD does not work. I did tests with PostgreSQL and Firebird.
Am I mistaken in which case I have to call refresh before algomo as CreateAndFillPrepare?
That would be the best way?
Ubaltino Faleiro
www.sistemainteligente.com
Brasil - Goiás - Goiânia
Offline
I think I could not explain.
GridPerson: TDrawGrid;
Grid: TSQLTableToGrid;
Grid: = TSQLTableToGrid.Create (GridPerson, Person.FillTable, BaseDados);
BaseDados.Add (Person, true)
Grid.Refresh;
- Using SQLite3 is the acts GridPerson
- And using PostgreSQL or Firebird (Bd via external FireDAC) do not reflect changes in GridPessoas.
Am I doing anything?
Will have to call
Person: = TSQLPerson.CreateAndFillPrepare (BaseDados, 'id> 0');
Refresh before?
thank you
Ubaltino Faleiro
www.sistemainteligente.com
Brasil - Goiás - Goiânia
Offline