Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to force a COMRETURN ERROR
Message
 
À
24/02/2005 15:37:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00990304
Message ID:
00990308
Vues:
14
>>I need to test a COM's error routing. One way to to this might be to "exclusively" open a table a method would "USE". Any reccomendations appreciated.
>
>To simulate an error, you can do:
>
>
>COMRETURNERROR(lcErrorText,'')
>
Thank you. I am assuming I just replace the 'actual' COMRETURNERROR in the COM's error method with your suggestion to force an error. What I want to do is simulate an error during service to send an error page or alert (javascript) to the browser.
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform