Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_CUROBJ and valids
Message
 
À
10/04/1998 12:57:00
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00090899
Message ID:
00091148
Vues:
33
Joe, I created a test in foxpro 2.6 with a READ VALID clause that set the _curobj to an object and made the valid return false. It worked. Is there any code in the field's WHEN clause that may make it return false?
I also traced the code and you are correct. The _CUROBJ value does not change after the _CUROBJ = 1 statement. But it does change once the function is exited. Not sure why this is... I also noticed when tracing the program that it kept looping through the read valid clause.

-mike

>Doing a objvar(fildvar) and objnum(filed) and SHOW GETS didn't work either.. I traced through my code with _CUROBJ in the debug window.. and when it hit the part of the code that says:
>_CUROBJ = 1
>
>it didn't change. the value of _CUROBJ stayed 36 even though FPW executed the line "_CUROBJ= 1" without error. I give up!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform