﻿<?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?)  » Saving a BO row by row?</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 17:46:41 GMT</lastBuildDate><ttl>20</ttl><item><title>Saving a BO row by row?</title><link>http://forum.strataframe.net/FindPost19728.aspx</link><description>Due to complex checking on insert on server side (nested trees n:n checked by many CTE), I need to save a specific BO row by row, in a serialized transaction:&lt;BR&gt;Save first row, and movenext only if result is Success... I need to Rollback on the first failure.&lt;P&gt;I know I can create a copy of that BO, then clear my BO, filter the copy on each row and copy currentview in original BO, and save each row (also another solution with snapshot), but is there another way, let say more simple, or more elegant?</description><pubDate>Thu, 25 Sep 2008 14:41:31 GMT</pubDate><dc:creator>Michel Levy</dc:creator></item><item><title>RE: Saving a BO row by row?</title><link>http://forum.strataframe.net/FindPost19732.aspx</link><description>Hi Trent,&lt;P&gt;I know it's definitely not normal, but I have this need (trees where any child may have many parents, on whatever level they are - first written in VFP6, a few years ago :D).&lt;/P&gt;&lt;P&gt;End-user may fill that BO with several rows in UI, but these may be saved only one at a time on server (the first checking of the trigger is to count the rows on inserted, and raises an error if &amp;gt;1).&lt;/P&gt;&lt;P&gt;So, let me play with snapshot :P&lt;P&gt;Thanks for your answer</description><pubDate>Thu, 25 Sep 2008 14:41:31 GMT</pubDate><dc:creator>Michel Levy</dc:creator></item><item><title>RE: Saving a BO row by row?</title><link>http://forum.strataframe.net/FindPost19730.aspx</link><description>Well, this is obviously not normal, but you could go at it several different ways.&amp;nbsp; Like you mentioned, or you could fill the BO one at a time or create a Save BO to which you enumerate the filled BO and then copy in the data to the Save BO one at a time (or vice versa).&amp;nbsp; But if you have this need it is going to take a little effort as this is generally not how saves are performed...and in fact out of all of these years this is the first time I have ever heard the need for this.&amp;nbsp; But yeah, you will need to take one of these approaches.</description><pubDate>Thu, 25 Sep 2008 14:15:15 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>