Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OBJVAR(_CUROBJ) returns empty string for working field
Message
From
11/08/1998 12:18:55
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00125639
Message ID:
00125656
Views:
24
Hi Nick,

OBJVAR will return null *if* the objnum specified is greater than the number of objects.

This leads me to suspect that there are multiple read levels active, and if this is the case then OBJVAR will take an optional second parameter specifying the read level.

You might try that.

Good luck,

Jim N

>Hello All,
>
>I have a strange problem with FPW 2.6 screen. For some GET fields OBJVAR(_CUROBJ) returns "" at the runtime. Input for all fields in that form is from memory variables created with SCATTER MEMVAR MEMO. The field saves entered data to the table just fine. The name of the field I am interested in is STATDATE, (corresponding memory variable is M.STATDATE). I tried to recreate this field on the form, change the names to DSTATDATE and M.DSTATDATE respectively. The screen still works, but OBJVAR() for that field is empty. I tried to store the OBJVAR for all fields in the screen into array, From 59 elements in array most of the memory variables names are fine, except some which supposed to be there are empty.
>Any ideas?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform