Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OBJVAR(_CUROBJ) returns empty string for working field
Message
 
To
11/08/1998 12:25:07
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00125639
Message ID:
00125661
Views:
23
Thank you Jim, looking for it.

Nick

>Nick,
>
>Page 10 of JULY FPA has your problem, with a recommended solution.
>
>Cheers,
>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?
>>>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 Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform