Advice on applying TDatabase at application.
Posted on 2004-09-08
Currently, I am developing an application. This exe application will be used by several users at different PC, but connecting to a database sit on a server.
I always face error prompting "lock conflict". Is it caused by the way I code the program ? This is some of the examples I code in my program :-
First of all I have a data module where a TDatabase component is placed.
I have all my various forms pointing to this data module ( named "dm" ) 's database ( named "db" ). I suppose this might cause deadlock ??
Please advise on how I should construct such kind of application in the aspect of database, especially when saving data.