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:20:37
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00125639
Message ID:
00125657
Views:
33
>>>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?
>>Nick,
>>Might varread() be any help there ?
>>Cetin
>
>Thanks for the idea, Cetin. Actually I implement Y2K solution from March 1998 FPA, and it works fine for all fields in that screen except this one. I think I can change that code to implement VARREAD() if OBJVAR(_CUROBJ) returns "".
>But I still wonder what could be the reason for not returning proper name. Too many fields in screen? (that one is 51)
>
>Nick
Nick,
And as I remember (if true) omitting _curobj also return objvar() for curobj. Might it _curobj returning a nonexistent value ? Readlevel problem ?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform