﻿<?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?)  » Mechanism to update a single row in 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 03:10:11 GMT</lastBuildDate><ttl>20</ttl><item><title>Mechanism to update a single row in a BO?</title><link>http://forum.strataframe.net/FindPost12924.aspx</link><description>I find myself occasionally needing to update a single record within a BO, usually after messing with data via a sproc.  Is there any way to update just one record (row) in the BO?</description><pubDate>Tue, 11 Dec 2007 09:47:23 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Mechanism to update a single row in a BO?</title><link>http://forum.strataframe.net/FindPost12983.aspx</link><description>Yes.&amp;nbsp; When tables are merged it goes through the ChangeCurrentDataTable method which ultimately raises the CurrentDataTableRefilled event.</description><pubDate>Tue, 11 Dec 2007 09:47:23 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Mechanism to update a single row in a BO?</title><link>http://forum.strataframe.net/FindPost12952.aspx</link><description>Does the AppendDataTable fire the CurrentDataTableRefilled Event ?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Robin Giltner</description><pubDate>Mon, 10 Dec 2007 09:09:01 GMT</pubDate><dc:creator>Robin J Giltner</dc:creator></item><item><title>RE: Mechanism to update a single row in a BO?</title><link>http://forum.strataframe.net/FindPost12950.aspx</link><description>Aha, that makes more sense :)&amp;nbsp; You can use the AppendDataTable method and pass the query that will&amp;nbsp;only retrieve that one record (we don't have an AppendByPrimaryKey).&amp;nbsp; The other argument for the AppendDataTable() method, besides the DbCommand, is an enum that specifies whether to overwite duplicate records or keep duplicate records; you want to overwrite the record.</description><pubDate>Mon, 10 Dec 2007 08:52:02 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Mechanism to update a single row in a BO?</title><link>http://forum.strataframe.net/FindPost12938.aspx</link><description>Oops, you misunderstand.  How do I refresh that single data row with data from the database?</description><pubDate>Fri, 07 Dec 2007 11:09:25 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Mechanism to update a single row in a BO?</title><link>http://forum.strataframe.net/FindPost12932.aspx</link><description>Well, if it's the only DataRow in the BO that is not Unchanged (modified), then it will be the only row that is saved.&amp;nbsp; Otherwise, you would need to create a new business object, filter the current one down to that record, use MergeDataFrom to copy over the record, and save the new business object with just that one record in it.</description><pubDate>Fri, 07 Dec 2007 09:04:05 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>