Hello,
i have a problem with a UniDBGrid with the following situation:
Every time i make a SQL Call with "insert into" on my FireBird DB for the first time for a new user (of my cms, DB is not empty) and refresh the grid, the columns of my table are there but the entry is not. When i delete the entry (dbgrid is then empty) and make another call (insert into) and the same refresh method, the grid refreshes and i see the entry in the database.
My Question is, is this the right way?:
1. SQL call: insert into...
2. Database.ExecuteDirect(..)...
3. DBGrid.DataSource.DataSet.Open;
4. DBGrid.DataSource.DataSet.Refresh;
5. DBGrid.Refresh;
Do you have any other suggestions or ideas why it doesnt work on the first call?