<?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: Delete or update specific record in grid</title><link>http://forums.method.me/cs/forums/thread/4875.aspx</link><pubDate>Wed, 02 Feb 2011 21:29:27 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:4875</guid><dc:creator>Phat Matt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/4875.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=4875</wfw:commentRss><description>&lt;p&gt;It worked! You are a genious Michael! I never knew until a few minutes ago that you could add another &amp;quot;where&amp;quot; statement on retrieve value. I get excited when I learn new things. Thanks for the help!!!&lt;/p&gt;</description></item><item><title>Re: Delete or update specific record in grid</title><link>http://forums.method.me/cs/forums/thread/4807.aspx</link><pubDate>Fri, 28 Jan 2011 15:08:45 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:4807</guid><dc:creator>Method_Michael</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/4807.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=4807</wfw:commentRss><description>&lt;p&gt;Hi Phat Matt,&lt;br /&gt;&lt;br /&gt;
Since both the Update and Delete actions in Method only
support one where clause but you need 2 where clauses to get the results you
are looking for I would first use the Retrieve Value from Table action and retrieve
the RecordID for the Item you want to delete/update based on the Item Name and
the RecordID for the current estimate (Value from Session Current Screen active
record ID). &amp;nbsp;Once you have the RecordID
stored in an action result you can use that value to update or delete the
record.&lt;br /&gt;&lt;br /&gt;
resultRecordID= Select RecordID from EstimateLine where Item
= [Item name] and where EstimateRecordID= [Current Screen Active Record ID] &lt;br /&gt;&lt;br /&gt;
-Michael&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Delete or update specific record in grid</title><link>http://forums.method.me/cs/forums/thread/4799.aspx</link><pubDate>Fri, 28 Jan 2011 01:20:06 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:4799</guid><dc:creator>Phat Matt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/4799.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=4799</wfw:commentRss><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;I am trying to figure out in a string of actions how to either update or delete a specific record in a grid. I have a string of actions that inserts a new record into the estimateline grid on the estimate and enters a subtotal from the estimateline grid. I am trying to figure out how to update or delete and add back the same record once additional records have been added to the estimateline grid thus changing the subtotal.&amp;nbsp; I would need to specify the record as &amp;quot;equal to&amp;quot; or &amp;quot;contains&amp;quot; item name that needs to be updated and also reference the recordID to match the recordID of the screen.&lt;/p&gt;
&lt;p&gt;Any thoughts???&lt;br /&gt;Thanks a ton!&lt;/p&gt;</description></item></channel></rss>