4D v14.3CREATE RECORD |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
CREATE RECORD
CREATE RECORD
CREATE RECORD creates a new empty record for table, but does not display the new record. Use ADD RECORD to create a new record and display it for data entry. CREATE RECORD is used instead of ADD RECORD when data for the record is assigned with the language. The new record becomes the current record but the current selection is left untouched. The record exists in memory only until a SAVE RECORD command is executed for the table. If the current record is changed (for example, by a query) before the record is saved, the new record is lost. The following example archives records that are over 30 days old. It does does this by creating new records in an archival table. When the archiving is finished, the records that were archived are deleted from the [Accounts] table: ` Find records more than 30 days old |
PROPERTIES
Product: 4D
HISTORY
Created: < 4D v6 SEE ALSO
ADD RECORD ARTICLE USAGE
4D Language Reference ( 4D v12.4) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||