I'm looking at ways of minimising the risk of potential corruption within Paradox tables (sitting on a server). I've read that it is advisable to use '.Open' and '.Close' accordingly rather than setting the 'Active' property to True or False.
Is this theory correct ? Should I not use the 'Active' property to open and close my tables ?
I've always had the habit of opening the tables on loading the form to make the data available and then closing the table on closing the form to free some resources. I've always made use of the form's 'OnClose' event but again someone has made a point that the ideal situation is to use the 'OnCloseQuery' event to make sure that tables are closed, expecially when you close Windows without closing your application.
Again is this the better way of doing things ?
My aim is to minimise risk of corruption of the Paradox tables on the network.
Any pointers would be appreciated.
Steve
Is this theory correct ? Should I not use the 'Active' property to open and close my tables ?
I've always had the habit of opening the tables on loading the form to make the data available and then closing the table on closing the form to free some resources. I've always made use of the form's 'OnClose' event but again someone has made a point that the ideal situation is to use the 'OnCloseQuery' event to make sure that tables are closed, expecially when you close Windows without closing your application.
Again is this the better way of doing things ?
My aim is to minimise risk of corruption of the Paradox tables on the network.
Any pointers would be appreciated.
Steve