I developed an Client/Server data base application, using firebird IBdatabase, IBquery. I need to know how to refresh the data on the server AND client when one of them has updat/insert query. The reason being that when I run a query on the client, after I inserted records into a table, the new records do not reflect in the queries. until i disconnected and rconnect agin Im using a firebird db, with interbase vcl, developing in Delphi XE2
2 Answers
2
votes
You don't have to disconnect the connection, but you will have to refresh (or close and reopen) the IBQuery. This is the case for most databases.
If you do not want this, you will have to send a notification from the database to all clients. I don't know if this would be doable from FireBird, but it is not common at all for databases to do this.