>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