Welcome to Forums Sign in | Join | Help | Forums
in Search


Search for Constituents by bank account

Last post 01-09-2009 1:48 PM by Kevin Strange. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 10-19-2008 12:58 PM

    • Eric Bracke
    • Not Ranked
    • Posts 3
    • Organization: King Baudouin Foundation
    • Products:  The Raiser's Edge

    Search for Constituents by bank account

    Hi,

    I'm looking for a way to find contstituents by their bank account.

    As off version 7.81 the account numbers are encrypted in the DB.
    Using the standard CustomWhereClause doesn't work because it queries the raw (encrypted) data.

    Is there a way to encrypt the plain text (account no) and pass that in the customwhereclause ?
    Or another filter object where I can give the account no in plain text as a parameter that returns a constituent collection ?

    Eric

    Filed under: , , ,
  • 01-09-2009 1:48 PM In reply to

    Re: Search for Constituents by bank account

    Eric, 

    Ran into the same problem. We match on Cfin2 bank Route & bank Account. The api returns the full Route and a mask acct, so changed to match on the last 4 bank account.

    sWhereBranch = "Constituent_Bank.BRANCH_ID = " & lBankId
        oFins.Init moSc, , tvf_Fin2_CustomWhereClause, sWhereBranch, True

    For Each oFin In oFins
            sFin2AccountLast4 = Right(oFin.Fields(FINANCIAL2_fld_ACCOUNT_NO), 4)
            If sFin2AccountLast4 = sAccountLast4 Then...

    Hope that helps, 

    Kevin Strange

    PCUSA

Page 1 of 1 (2 items)