![]() | |||||||||||||||||||||||
Parameters: RecordType, ParentFolder, Relation, CreationMethod Used to create a new record of the specified RecordType in the specified ParentFolder. If the RecordType parameter is not specified, the new record will be of the same type as the selected one. If no record is selected, a record of the main type will be created (a top row in the Add menu). If the ParentFolder parameter is not specified, the record will be created in the current folder or in the default folder specified for this record type (in Form Editor). If the Relation parameter has the Yes value, the added record will be linked to the selected record by many-to-many relation; otherwise the relation will not be created. CreationMethod parameter may possess the following three values:
RETURN VALUE: Returns a recordset with the created record if record was created successfully; otherwise 0 is returned. For example, you can use this recordset to set fields of a new record created using the "Just Create New Record" method:
| |||||||||||||||||||||||
|
Copyright (C) 2001-2010 Binary Brilliant Inc. All Rights Reserved. |