Guides (SDK /API)Technical ReferenceBBDNHow-to Documentation

You are here: Custom Parts Example: Constituent Search > Track the Selected Constituencies

Track the Selected Constituencies

Code sample project: Custom Individual (Blackbaud CRM Constituent) Search

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

    Note: You can create additional VB files as necessary.

  2. Declare Boolean variables that track which constituency was selected on the editor form:

    Public Class CustomSearchFormProperties
        Public Constituency As String
        Public ConstituencyID As System.Guid
        Public SearchAll As Boolean
    End Class
  3. Save the file.

    The display and editor forms will check these variables to determine which record to use.