Guides (SDK /API)Technical ReferenceBBDNHow-to Documentation

You are here: Custom Parts Example: Pledge Form > Track the Record Option

Track the Record Option

Code sample project: Custom Pledge Form

  1. Open the form properties VB file that was created when you added the custom part (type). For example, open CustomPledgeFormProperties.vb.

    Note: You can create additional VB files as necessary.

  2. Declare a Boolean variable that tracks whether to write only to the custom pledge record:

    Public OnlyWriteToCustomPledgeRecord As Boolean
  3. Save the file.

    The display and editor forms will check this variable to determine which record to use.

    Public Class CustomPledgeFormProperties
        Public OnlyWriteToCustomPledgeRecord As Boolean
    End Class