﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » How Do I Translate a Filtered DevEx Grid to a BO?</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 14:06:21 GMT</lastBuildDate><ttl>20</ttl><item><title>How Do I Translate a Filtered DevEx Grid to a BO?</title><link>http://forum.strataframe.net/FindPost17763.aspx</link><description>The DevEx grid is really nice.&amp;nbsp; I have set one of my columns to present a checked list for filtering.&amp;nbsp; Slick.&amp;nbsp; Now, I want to take the users filtered records and bake them into a report.&amp;nbsp; I'd like to create a BO that has each of these filtered records.&amp;nbsp; Is there an easy way to do this?&amp;nbsp; Or do I need to "walk" the grid and, somehow,&amp;nbsp;copy these records into&amp;nbsp;a new BO, then use that BO to generate a report?&lt;/P&gt;&lt;P&gt;Thanks for your help!!&lt;BR&gt;Bill</description><pubDate>Fri, 11 Jul 2008 08:35:43 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: How Do I Translate a Filtered DevEx Grid to a BO?</title><link>http://forum.strataframe.net/FindPost17796.aspx</link><description>Farm out, man!&amp;nbsp; That is great...I will definitely use that tip.&amp;nbsp; MANY thanks!!</description><pubDate>Fri, 11 Jul 2008 08:35:43 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: How Do I Translate a Filtered DevEx Grid to a BO?</title><link>http://forum.strataframe.net/FindPost17785.aspx</link><description>Bill,&lt;/P&gt;&lt;P&gt;I am doing the same thing it is the cat'sass , just take the filter from the grid and apply it to the reports filter string property this will filter the report, something like below, also you can get snazzy and allow the user to save the filter and then create&amp;nbsp;their own list of saved filters so they can simply choose from a list and apply whatever saved filter&amp;nbsp;fits the bill or create a&amp;nbsp;new one. &amp;nbsp;&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; lcfilter &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;String&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;.GridView1.ActiveFilter.Expression&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;'Set filter&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;xtrareport&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.FilterString = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;lcfilter&lt;/FONT&gt;&lt;/FONT&gt;</description><pubDate>Thu, 10 Jul 2008 19:19:52 GMT</pubDate><dc:creator>Paul Chase</dc:creator></item><item><title>RE: How Do I Translate a Filtered DevEx Grid to a BO?</title><link>http://forum.strataframe.net/FindPost17778.aspx</link><description>Thanks!&amp;nbsp; I will try assigning the filter string (ActiveFilterString?) to the BO.&amp;nbsp; Great idea!&amp;nbsp;</description><pubDate>Thu, 10 Jul 2008 15:41:25 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: How Do I Translate a Filtered DevEx Grid to a BO?</title><link>http://forum.strataframe.net/FindPost17774.aspx</link><description>The filter object has a property named "&lt;FONT size=2&gt;FilterString". This string can be applied as a filter on the Business object to give you the records you need for your report.&lt;/FONT&gt;&lt;P&gt;Good luck</description><pubDate>Thu, 10 Jul 2008 14:57:17 GMT</pubDate><dc:creator>Kenneth Langley</dc:creator></item><item><title>RE: How Do I Translate a Filtered DevEx Grid to a BO?</title><link>http://forum.strataframe.net/FindPost17764.aspx</link><description>To be honest, without setting this up I can't give you a straight answer.&amp;nbsp; I do not live in the DevExpress grid so I really don't&amp;nbsp;know what they are doing behind the scenes here.&amp;nbsp; The bottom line, though, is that if you can apply the filter on the BO then it will translate into the report.&amp;nbsp; You would really want to create a custom BBS (using the new 1.6.6 template) as your data source then you could just pass that data source over to a report.&amp;nbsp; But without "getting my hands dirty" I am not going to be able to give you a 100% answer on this as I just do not have the DevExpress grid logic in my head since it is not something that I use myself.</description><pubDate>Thu, 10 Jul 2008 11:05:02 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>