Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_CUROBJ and valids
Message
 
To
10/04/1998 12:57:00
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00090899
Message ID:
00091148
Views:
32
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!
Previous
Reply
Map
View

Click here to load this message in the networking platform