Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unknow error number: 2065
Message
De
24/11/2004 18:35:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
24/11/2004 18:12:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00964541
Message ID:
00964544
Vues:
8
>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 && or any other suspect command
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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform