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....
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement