<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Filtering on Gifts</title>
	<atom:link href="http://www.re-decoded.com/2007/05/filtering-on-gifts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.re-decoded.com/2007/05/filtering-on-gifts/</link>
	<description>A technical look at the Raiser&#039;s Edge API from Blackbaud</description>
	<lastBuildDate>Fri, 27 Aug 2010 10:19:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: David</title>
		<link>http://www.re-decoded.com/2007/05/filtering-on-gifts/comment-page-1/#comment-3956</link>
		<dc:creator>David</dc:creator>
		<pubDate>Tue, 28 Jul 2009 15:14:52 +0000</pubDate>
		<guid isPermaLink="false">http://zeidmandevelopment.co.uk/redecoded/?p=10#comment-3956</guid>
		<description>There are several examples and some discussion on this site (select the batch tag) and on Blackbus and indeed the API help file comes with quite a good (if albeit a little simplistic) example

David</description>
		<content:encoded><![CDATA[<p>There are several examples and some discussion on this site (select the batch tag) and on Blackbus and indeed the API help file comes with quite a good (if albeit a little simplistic) example</p>
<p>David</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ej</title>
		<link>http://www.re-decoded.com/2007/05/filtering-on-gifts/comment-page-1/#comment-3954</link>
		<dc:creator>ej</dc:creator>
		<pubDate>Sun, 26 Jul 2009 11:49:55 +0000</pubDate>
		<guid isPermaLink="false">http://zeidmandevelopment.co.uk/redecoded/?p=10#comment-3954</guid>
		<description>batch of gifts load in api examples ? 

Does any one have sample vb api code that loads a string of data that contains  1 or more gifts and create gift records for a consituent(s) ?

Thank You</description>
		<content:encoded><![CDATA[<p>batch of gifts load in api examples ? </p>
<p>Does any one have sample vb api code that loads a string of data that contains  1 or more gifts and create gift records for a consituent(s) ?</p>
<p>Thank You</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Retrieving all gifts for a particular fund - Blackbaud User Society - Forum</title>
		<link>http://www.re-decoded.com/2007/05/filtering-on-gifts/comment-page-1/#comment-1885</link>
		<dc:creator>Retrieving all gifts for a particular fund - Blackbaud User Society - Forum</dc:creator>
		<pubDate>Mon, 11 May 2009 15:25:33 +0000</pubDate>
		<guid isPermaLink="false">http://zeidmandevelopment.co.uk/redecoded/?p=10#comment-1885</guid>
		<description>[...] collection it only loads gifts with this fund id.  See an article I wrote a while back about this working with filters.  David  __________________ David Zeidman Zeidman Development http://www.zeidman.info  Check out my [...]</description>
		<content:encoded><![CDATA[<p>[...] collection it only loads gifts with this fund id.  See an article I wrote a while back about this working with filters.  David  __________________ David Zeidman Zeidman Development <a href="http://www.zeidman.info" rel="nofollow">http://www.zeidman.info</a>  Check out my [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.re-decoded.com/2007/05/filtering-on-gifts/comment-page-1/#comment-553</link>
		<dc:creator>David</dc:creator>
		<pubDate>Thu, 23 Oct 2008 16:37:30 +0000</pubDate>
		<guid isPermaLink="false">http://zeidmandevelopment.co.uk/redecoded/?p=10#comment-553</guid>
		<description>Sorry, I have not used those before.

David</description>
		<content:encoded><![CDATA[<p>Sorry, I have not used those before.</p>
<p>David</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.re-decoded.com/2007/05/filtering-on-gifts/comment-page-1/#comment-525</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Sun, 19 Oct 2008 18:57:31 +0000</pubDate>
		<guid isPermaLink="false">http://zeidmandevelopment.co.uk/redecoded/?p=10#comment-525</guid>
		<description>hi David,

Have you any experience with the FormatField function ?
It has the fmtENCRYPTED and fmtENCRYPTED_DES as EFormatDescriptors constants.

I&#039;m trying to encrypt the account no in the customwhereclause string.

Eric</description>
		<content:encoded><![CDATA[<p>hi David,</p>
<p>Have you any experience with the FormatField function ?<br />
It has the fmtENCRYPTED and fmtENCRYPTED_DES as EFormatDescriptors constants.</p>
<p>I&#8217;m trying to encrypt the account no in the customwhereclause string.</p>
<p>Eric</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Zeidman</title>
		<link>http://www.re-decoded.com/2007/05/filtering-on-gifts/comment-page-1/#comment-523</link>
		<dc:creator>David Zeidman</dc:creator>
		<pubDate>Sat, 18 Oct 2008 22:13:03 +0000</pubDate>
		<guid isPermaLink="false">http://zeidmandevelopment.co.uk/redecoded/?p=10#comment-523</guid>
		<description>Ahhh, yes of course. I forgot about that one. I am at a loss as to what to suggest. It does seem strange that there is a way of searching for a constituent by account number on the search screen but no obvious method in the API.</description>
		<content:encoded><![CDATA[<p>Ahhh, yes of course. I forgot about that one. I am at a loss as to what to suggest. It does seem strange that there is a way of searching for a constituent by account number on the search screen but no obvious method in the API.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.re-decoded.com/2007/05/filtering-on-gifts/comment-page-1/#comment-519</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Fri, 17 Oct 2008 22:09:51 +0000</pubDate>
		<guid isPermaLink="false">http://zeidmandevelopment.co.uk/redecoded/?p=10#comment-519</guid>
		<description>Hi David,

Thank you for your quick reply.
As of version 7.81 the account numbers are encrypted in the db. Using the CustomWhereClause queries the raw data. Passing clear text as criteria doesn&#039;t return any records.

Is there a way to encrypt the clear text on the fly so the account number passed in the whereclause matches the raw (encrypted) data in the table ?

Or is there an other way to filter constituents using the account no?

Eric</description>
		<content:encoded><![CDATA[<p>Hi David,</p>
<p>Thank you for your quick reply.<br />
As of version 7.81 the account numbers are encrypted in the db. Using the CustomWhereClause queries the raw data. Passing clear text as criteria doesn&#8217;t return any records.</p>
<p>Is there a way to encrypt the clear text on the fly so the account number passed in the whereclause matches the raw (encrypted) data in the table ?</p>
<p>Or is there an other way to filter constituents using the account no?</p>
<p>Eric</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Zeidman</title>
		<link>http://www.re-decoded.com/2007/05/filtering-on-gifts/comment-page-1/#comment-513</link>
		<dc:creator>David Zeidman</dc:creator>
		<pubDate>Fri, 17 Oct 2008 08:29:07 +0000</pubDate>
		<guid isPermaLink="false">http://zeidmandevelopment.co.uk/redecoded/?p=10#comment-513</guid>
		<description>Eric,

You are using the wrong filter object for constituents. You need to use the CRecordsFilter object. The CFinRelFilter is used when you want to filter a collection of bank relationship records i.e. objects of type CFinancials2. However if you bring up the CRecordsFilter you will not find bank account number there.

What you are going to probably have to do is to use a custom where clause something like this:

Dim oRECS As CRecords = New CRecords
sql = &quot; ID IN (SELECT CONSTIT_ID FROM CONSTITUENT_BANK WHERE ACCOUNT_NO_RAW = &#039;&quot; &amp; myBankAccountNumber &amp; &quot;&#039;&quot;
oRECS.Init(oCONN.SessionContext, TopViewFilter_Record.tvf_record_CustomWhereClause, sql)


This assumes that the account number does not contain any formatting just numbers otherwise you can use the ACCOUNT_NO field instead.

David</description>
		<content:encoded><![CDATA[<p>Eric,</p>
<p>You are using the wrong filter object for constituents. You need to use the CRecordsFilter object. The CFinRelFilter is used when you want to filter a collection of bank relationship records i.e. objects of type CFinancials2. However if you bring up the CRecordsFilter you will not find bank account number there.</p>
<p>What you are going to probably have to do is to use a custom where clause something like this:</p>
<p>Dim oRECS As CRecords = New CRecords<br />
sql = &#8221; ID IN (SELECT CONSTIT_ID FROM CONSTITUENT_BANK WHERE ACCOUNT_NO_RAW = &#8216;&#8221; &amp; myBankAccountNumber &amp; &#8220;&#8216;&#8221;<br />
oRECS.Init(oCONN.SessionContext, TopViewFilter_Record.tvf_record_CustomWhereClause, sql)</p>
<p>This assumes that the account number does not contain any formatting just numbers otherwise you can use the ACCOUNT_NO field instead.</p>
<p>David</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.re-decoded.com/2007/05/filtering-on-gifts/comment-page-1/#comment-509</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Thu, 16 Oct 2008 20:58:58 +0000</pubDate>
		<guid isPermaLink="false">http://zeidmandevelopment.co.uk/redecoded/?p=10#comment-509</guid>
		<description>Hi,

I&#039;m new to the RE API and I&#039;m realy stuck here:

I would like to filter constituents. The criteria is the bank account (as in the search screen).
This is what I have:

------------
        Dim oRECS As CRecords = New CRecords
        oRECS.Init(oCONN.SessionContext, TopViewFilter_Record.tvf_record_UseFilterObject)
        Dim oCONTS As IBBRecords2 = oRECS
        Dim oFLT As CFinRelFilter = oCONTS.FilterObject
        With oFLT
            -- filter criteria should come here, but the only property available is:
            .ExcludeIDs
        End With

--------------

Thanks in advance.

Eric</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m new to the RE API and I&#8217;m realy stuck here:</p>
<p>I would like to filter constituents. The criteria is the bank account (as in the search screen).<br />
This is what I have:</p>
<p>&#8212;&#8212;&#8212;&#8212;<br />
        Dim oRECS As CRecords = New CRecords<br />
        oRECS.Init(oCONN.SessionContext, TopViewFilter_Record.tvf_record_UseFilterObject)<br />
        Dim oCONTS As IBBRecords2 = oRECS<br />
        Dim oFLT As CFinRelFilter = oCONTS.FilterObject<br />
        With oFLT<br />
            &#8212; filter criteria should come here, but the only property available is:<br />
            .ExcludeIDs<br />
        End With</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Thanks in advance.</p>
<p>Eric</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RE-Decoded &#187; Blog Archive &#187; Gift Type IDs - A Reference</title>
		<link>http://www.re-decoded.com/2007/05/filtering-on-gifts/comment-page-1/#comment-443</link>
		<dc:creator>RE-Decoded &#187; Blog Archive &#187; Gift Type IDs - A Reference</dc:creator>
		<pubDate>Mon, 01 Sep 2008 09:30:09 +0000</pubDate>
		<guid isPermaLink="false">http://zeidmandevelopment.co.uk/redecoded/?p=10#comment-443</guid>
		<description>[...] while ago I wrote an article about filtering on gifts. I find myself regularly having to reference the knowledgebase link which itself links to an Access [...]</description>
		<content:encoded><![CDATA[<p>[...] while ago I wrote an article about filtering on gifts. I find myself regularly having to reference the knowledgebase link which itself links to an Access [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
