Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scatter Memvar issues
Message
De
19/12/2005 19:38:14
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
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:
01079381
Vues:
32
>I'm using SCATTER MEMVAR in the FORM1.LOAD procedure and when I put values into the m. in the form 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?

Douglas,
It's better to use buffering instead. Alternatively if you want to do a scatter/gather rather than scattering to memvar scatter to a name and add it to form. ie:

*form init
this.Addproperty('oRecord')
select myTable
scatter name this.oRecord

*this.txtCompany.ControlSource = "thisform.oRecord.Company" && assuming there is a company field

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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform