Remote Access DB
Posted: Thu 18 Jul 2013 22:42
I'm newbie in remote data access, so I need help.
I working connecting than disconnecting TMyConnection each request. For example, if I have to populate an combo box or something, first I ran the query, put the information and than I close the connection. Is that correct? There is another way, or better way, to do that?
Also I'm using TVirtualTable and TCRBatchMove to simulate Client Dataset functionality.
Is this the best practice to work with remote databases? The server is in the office and the client is in another place, they are connected through the internet.
I appreciate any kind of help.
I working connecting than disconnecting TMyConnection each request. For example, if I have to populate an combo box or something, first I ran the query, put the information and than I close the connection. Is that correct? There is another way, or better way, to do that?
Also I'm using TVirtualTable and TCRBatchMove to simulate Client Dataset functionality.
Is this the best practice to work with remote databases? The server is in the office and the client is in another place, they are connected through the internet.
I appreciate any kind of help.