Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scatter Memvar issues
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01079371
Message ID:
01079375
Vues:
98
Douglas,

>I'm using SCATTER MEMVAR in the FORM1.LOAD procedure and when I put values into the m. in the form

That is sooooooooo early nineties. *g*

>and then click on a button that is to issue: INSERT INTO tbl FROM MEMVAR... I get the error that a variable is not found of the same name as the primary index field of the table (tbl) that I'm trying to add the record into. Any suggestions?

the problem is the memvars you created in Load went out of scope as soon as the method ended.

With the table buffering modes available in VFP there isn't a good reason to edit to memvars any more. Bind your controls directly to the fields themselves.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform