Description
Sets the child action of the given type with the given action. Valid action types are: INSERT, UPDATE, and DELETE. Valid action names are: NONE, RESTRICT, CASCADE, SETNULL, and SETDEFAULT. PARAMETERS: ActionType (String), ActionName (String).
Syntax
Public Sub SetChildAction( _ ByVal ActionType As Variant, _ ByVal ActionName As Variant _ )
Parameters
- ActionType
- ActionName
Example
Dim MyRelationship As Relationship
Dim strActionType As String
Dim strActionName As String
' Select from possible action types and names
strActionType = UPDATE
strActionName = NONE
MyRelationship.SetChildAction (strActionType, strActionName)
See Also