<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.method.me/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Method:Classic General Q&amp;amp;A</title><link>http://forums.method.me/cs/forums/13.aspx</link><description>Ask technical support questions, how do I? Questions... Or anything else you want to know from the Method Team and other Method users.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: Easy Way to Check If Grid Has Records</title><link>http://forums.method.me/cs/forums/thread/9770.aspx</link><pubDate>Thu, 22 Dec 2011 16:42:33 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:9770</guid><dc:creator>Blake C</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/9770.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=9770</wfw:commentRss><description>&lt;p&gt;@Method_Paul&lt;/p&gt;
&lt;p&gt;At first I was doing that (do a SUM for records in the grid), but then I was faced with trying to manually select the first row in that grid so I just decided to load the tab again knowing this would be the easiest.&lt;/p&gt;
&lt;p&gt;In the end, it was the easiest. Check the link in my post to see the actions I wound up using to get it done.&lt;/p&gt;
&lt;p&gt;Thx&lt;/p&gt;</description></item><item><title>Re: Easy Way to Check If Grid Has Records</title><link>http://forums.method.me/cs/forums/thread/9768.aspx</link><pubDate>Thu, 22 Dec 2011 16:37:12 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:9768</guid><dc:creator>Blake C</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/9768.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=9768</wfw:commentRss><description>&lt;p&gt;@LaCrews&lt;/p&gt;
&lt;p&gt;Yeah, that&amp;#39;s what I wound up doing. This solution made more sense once I decided to just effectively load the tab again rather than mess with looking at a grid. Take a look at the link I posted to see the actions I wound up using.&lt;/p&gt;
&lt;p&gt;Thx&lt;/p&gt;</description></item><item><title>Re: Easy Way to Check If Grid Has Records</title><link>http://forums.method.me/cs/forums/thread/9757.aspx</link><pubDate>Thu, 22 Dec 2011 12:35:09 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:9757</guid><dc:creator>Method_Paul</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/9757.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=9757</wfw:commentRss><description>&lt;p&gt;Could you just use a GetSum action that gets the sum of the RecordIDs in the grid?&lt;/p&gt;
&lt;p&gt;If the sum is greater than 0 there are records, otherwise there are no records.&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t tried it, but I don&amp;#39;t see why it wouldn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;Paul&lt;/p&gt;</description></item><item><title>Re: Easy Way to Check If Grid Has Records</title><link>http://forums.method.me/cs/forums/thread/9756.aspx</link><pubDate>Thu, 22 Dec 2011 12:24:46 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:9756</guid><dc:creator>LaCrews</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/9756.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=9756</wfw:commentRss><description>&lt;p&gt;Blake C&lt;/p&gt;
&lt;p&gt;You might try using Retreive Value From Table (select RecordID as the field)&lt;/p&gt;
&lt;p&gt;Use the same where clause as the grid filter and instead of retreiving first get the count of records.&lt;/p&gt;
&lt;p&gt;If the count is equal to zero then there are no records.&lt;/p&gt;</description></item><item><title>Re: Easy Way to Check If Grid Has Records</title><link>http://forums.method.me/cs/forums/thread/9754.aspx</link><pubDate>Thu, 22 Dec 2011 04:08:08 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:9754</guid><dc:creator>Blake C</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/9754.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=9754</wfw:commentRss><description>&lt;p&gt;Update: I got it working. It ain&amp;#39;t pretty, though.&lt;/p&gt;
&lt;p&gt;Adding to my description in my previous post...&lt;/p&gt;
&lt;p&gt;After deleting the active record, I wound up basically reloading the page. This page is passed a custom filter for the grid on the left, so I had to grab a couple items from the screen BEFORE deleting the active record, setting these items as Shared Results to pass to the page, and then &amp;#39;reload&amp;#39; the page by showing the current Tab link again ensuring the view is filtered properly.&lt;/p&gt;
&lt;p&gt;If the deleted active record is the last record for the customer, I detect that by querying the table and finding no results. In that case, I close the current Tab link and to go to another Tab link.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a link to the screenshot of my actions -&amp;nbsp;&lt;a target="_blank" href="http://bit.ly/vOof2D"&gt;http://bit.ly/vOof2D&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Easy Way to Check If Grid Has Records</title><link>http://forums.method.me/cs/forums/thread/9751.aspx</link><pubDate>Wed, 21 Dec 2011 23:12:21 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:9751</guid><dc:creator>Blake C</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/9751.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=9751</wfw:commentRss><description>&lt;p&gt;Sorry. Should have given more context.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m deleting a current, active record (linked to a customer). There&amp;#39;s a grid on the left showing other records for the current customer. If the deleted record represents the final record for that customer, I want to close the page and go elsewhere.&lt;/p&gt;
&lt;p&gt;If there are still other records for that customer, I want to set the active record for that page to the first row in that grid.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to create the necessary actions to do this. Easily determining if there are records in a grid would be nice and easier than what I&amp;#39;m trying to do now...which is get a value from screen (CustomerID) and query a table looking for results, then going from there.&lt;/p&gt;
&lt;p&gt;Hope that makes sense...Thx&lt;/p&gt;</description></item><item><title>Re: Easy Way to Check If Grid Has Records</title><link>http://forums.method.me/cs/forums/thread/9750.aspx</link><pubDate>Wed, 21 Dec 2011 23:06:22 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:9750</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/9750.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=9750</wfw:commentRss><description>&lt;p&gt;Blake,&lt;/p&gt;
&lt;p&gt;You are also able to see a record count in the grey area at the bottom of the grid. &lt;img src="http://www.methodintegration.com/cs/emoticons/emotion-15.gif" alt="Geeked" /&gt;&lt;/p&gt;</description></item><item><title>Re: Easy Way to Check If Grid Has Records</title><link>http://forums.method.me/cs/forums/thread/9748.aspx</link><pubDate>Wed, 21 Dec 2011 23:00:31 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:9748</guid><dc:creator>Method_Michael</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/9748.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=9748</wfw:commentRss><description>&lt;p&gt;Blake-&lt;/p&gt;
&lt;p&gt;If you look at the grid and you don&amp;#39;t see any rows then it is empty (Unless the data is filtered) &lt;img src="http://www.methodintegration.com/cs/emoticons/emotion-4.gif" alt="Stick out tongue" /&gt;.&lt;/p&gt;
&lt;p&gt;You could also export the table the grid is based off using the Import / Export tool found under &lt;b&gt;Customize &amp;gt; Intergration Tools,&lt;/b&gt;&amp;nbsp;this exports the raw unfiltered data from the table&lt;/p&gt;
&lt;p&gt;Why are wanting to see if a grid is empty? Maybe we can provide other suggestion as well.&lt;/p&gt;
&lt;p&gt;-Michael&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Easy Way to Check If Grid Has Records</title><link>http://forums.method.me/cs/forums/thread/9743.aspx</link><pubDate>Wed, 21 Dec 2011 22:23:37 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:9743</guid><dc:creator>Blake C</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/9743.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=9743</wfw:commentRss><description>&lt;p&gt;Sorry for the n00b question...but am I missing something? What&amp;#39;s the easiest way to see if a grid has any records?&lt;/p&gt;
&lt;p&gt;Thx&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>