>Hi all!
>I get the 2065 error number in a "END TRANSACTION" line code.
>Any ideas about this error? Where could I find information about this, since VFP8Help does not help!
>
>Thank's in advance,
>NPedro
You might try aerror(), which fills an array with error information. The first array element is the error number - which you already know - and the second one, the error message, which, hopefully, will give you more insight into what is happening.
Perhaps you have to disable the automatic appearance of error messages.
I am thinking something like this:
ThereIsAnError = .F.
on error ThereIsAnError = .T.
end transaction
if ThereIsAnError
aerror(MyErrorArray)
MessageBox("There was an error. Error #" + trans(MyErrorArray(1));
+ " Message: " + MyErrorArray(2))
endif
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)