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:
00125656
Vues:
23
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform