generates an Insert statement to insert the data from a record object into the database.
Remember that a record object (not a record definition) stores both the record structure (table name and field name) and the field values. Therefore, the system has everything it needs to write an insert statement: insert( ... field list ... ) values ( ... options ...).
Examples
Local Record &myRecord;
&myRecord.KEY1.value = "Key Value";
&myRecord.FIELD1.value = "Field Value";
SQLExec("%Insert(:1)", &myRecord);
This post has moved to Wordpress/
Tuesday, December 26, 2006
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment