Hi, I wrote an program to monitor some production process which uses MSSql2012 server on remote location. Used SqlDB components ,one DataModule for all DB related queries, transactions etc.
When I started writing program, the speed was fine. However, as I wrote all the modules the program became very slow when opening new form with dbgrid data. I always open sqlquery connection before form is shown, on close, I close all the queries for that form. I also use alot of Master-Detail relation ships (I link up to 3 queries).
But it's not that much data, I usually query up to 4 queries per form,
Can you give me some tips to optimise speed?