Skip to content

AfterCreateRecordRow ​

This event is triggered after a record row has been created.

Parameters ​

ParameterDescription
modelid (idValue, optional) -ue, ID of the changed model.
instidintValue, ID of the changed instance (owner of the record).
attridintValue, ID of the RECORD attribute.
posintValue, Position of the new row (1 = first).
rowidintValue, ID of the new record row.

Exit value: ​

Remarks ​

See Also ​

Example ​

The following example displays the predefined parameters after creating a record row.

leo-grammar
	ON_EVENT "AfterCreateRecordRow" {
	SET id_ModelId: (modelid)
	SET id_InstId: (instid) 
	SET id_AttrId: (attrid)  
	SET int_PosInt: (pos) 
	SET id_RowId: (rowid)

	CC "AdoScript"  LISTBOX entries: ("Modelid   " + STR(id_ModelId)  + "$InstanceId   " + STR(id_InstId) + 
	"$AttributeId  " + STR(id_AttrId) + "$Position  " + STR(int_PosInt) + "$RowId  " + STR(id_RowId))  
	toksep: "$"
	}