Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OBJVAR(_CUROBJ) returns empty string for working field
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00125639
Message ID:
00125659
Vues:
33
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform