﻿<?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?)  » Adding row to business object</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 13:46:34 GMT</lastBuildDate><ttl>20</ttl><item><title>Adding row to business object</title><link>http://forum.strataframe.net/FindPost29531.aspx</link><description>I have a curious issue when adding a new row to a BO. I perform a BO.Add() function, then I overwrite the firlds in the row with data from the screen manually followed by a BO.Save(). When I interrogate the datatable I find that the current row has been changed with the data I have just input and a new row of zeroes appended to the same table. It looks as if the .Add() has put the current row into Edit mode. Can anyone please advise, many thanks.</description><pubDate>Thu, 10 Feb 2011 16:17:00 GMT</pubDate><dc:creator>Ian Hammond</dc:creator></item><item><title>RE: Adding row to business object</title><link>http://forum.strataframe.net/FindPost29534.aspx</link><description>You are welcome Ian.</description><pubDate>Thu, 10 Feb 2011 16:17:00 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Adding row to business object</title><link>http://forum.strataframe.net/FindPost29533.aspx</link><description>Many thanks for your prompt reply, that has fixed my problem.&lt;br/&gt;&lt;br/&gt;Regards</description><pubDate>Thu, 10 Feb 2011 06:57:15 GMT</pubDate><dc:creator>Ian Hammond</dc:creator></item><item><title>RE: Adding row to business object</title><link>http://forum.strataframe.net/FindPost29532.aspx</link><description>Hi Ian,&lt;br/&gt;&lt;br/&gt;You may see that kind of things when having either a BO.Filter or BO.Sort, if that is the case, when BO.Add() is call the data will be filtered or sorted automatically, so you must temporarily disable the BO.Filter or BO.Sort to add new records.</description><pubDate>Thu, 10 Feb 2011 06:32:22 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item></channel></rss>