Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On Error...Ok in VFP6 not in VFP7
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00551946
Message ID:
00552929
Vues:
21
Jess,

Neither of functions ERROR(), PROGRAM() or LINENO() returns .f. It looks like actual line of code is or foxpro interprets it for some reason as
ON ERROR DO ERRTRAP
Only this way can you get all .f. as parameter values in ERRTRAP program.

>Our forms are subclassed from our custom set of classes. In the main program, I have that ON ERROR.. line of code. The errtrap is a separate program.
>
>TA
>>>It works modular but if error is inside the form, it does not. I don't know why?
>>>
>>>The errtrap program is successfully invoked but parameters are always .F.
>>< SNIP >
>>
>>Hi Jess,
>>
>>Works for me. Below's my test code. Can you post your code that reproduces the problem?

>>ON ERROR DO ERRTRAP WITH ERROR(), PROGRAM(), LINENO()
>>
< SNIP >
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform