Description

Sets the parent 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 and ActionName (Strings).

Syntax

Public Sub SetParentAction( _
   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.SetParentAction (strActionType, strActionName)


  • No labels