Set your datasession to Private. This will force VFP to give up any references to cursors, etc. that will cause intermittent C0000005. This is a quick and dirty way to resolve programming standards issues like:
Checking Parameter passed for correct number/values
Saving/Restoring environment from class/procedure
Closing temporary cursors/deleting temporary files
Releasing Local variables (understanding the difference between Public, Local, Private)
Checking results of SELECT (_tally) to ensure that the result is always known
Checking both sides of a IF statement
Documenting the call, what are the Xs and Ys that this new black box calls. Who calls it and why? What does it do?
On and ON and Onnnnnnnn...... Sorry but I have been thinkin about this a lot.
>Yeah
Hope this helps....
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only