﻿<?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?)  » Easiest Way to delete all records from BO without getting cofirm messagebox</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Fri, 19 Jun 2026 17:52:54 GMT</lastBuildDate><ttl>20</ttl><item><title>Easiest Way to delete all records from BO without getting cofirm messagebox</title><link>http://forum.strataframe.net/FindPost21916.aspx</link><description>Hi!&lt;br&gt;
I need to be able to delete all records from BO behind the scenes circumventing confirm delete messages. It would be great if I could just call "bo.clear()" and it sets all rows as deleted.&lt;br&gt;
Is there an easy way to do that?&lt;br&gt;
Thanks.</description><pubDate>Wed, 11 Feb 2009 19:31:50 GMT</pubDate><dc:creator>Leonard P.</dc:creator></item><item><title>RE: Easiest Way to delete all records from BO without getting cofirm messagebox</title><link>http://forum.strataframe.net/FindPost21920.aspx</link><description>I am so stealing that :)</description><pubDate>Wed, 11 Feb 2009 19:31:50 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Easiest Way to delete all records from BO without getting cofirm messagebox</title><link>http://forum.strataframe.net/FindPost21919.aspx</link><description>Hi Keith,&lt;P&gt;Believe it or not, I do have a Zap method in my base BO, but of course the more we have out of the box in the framework, the better. :hehe:</description><pubDate>Wed, 11 Feb 2009 18:40:08 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Easiest Way to delete all records from BO without getting cofirm messagebox</title><link>http://forum.strataframe.net/FindPost21918.aspx</link><description>Enhancement request!!! BO.zap !&lt;/P&gt;&lt;P&gt;Awesome!</description><pubDate>Wed, 11 Feb 2009 17:54:29 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Easiest Way to delete all records from BO without getting cofirm messagebox</title><link>http://forum.strataframe.net/FindPost21917.aspx</link><description>Hi Leonard,&lt;/P&gt;&lt;P&gt;I use this code in one of my applications, but would also like to see something like VFP ZAP function :hehe:&lt;/P&gt;&lt;P&gt;[codesnippet][code]&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;&lt;/P&gt;&lt;P&gt;'-- Delete all records in the BO&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;For&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; I = 0 &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;To&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; PaymentScheduleBO1.Count - 1&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.PaymentScheduleBO1.DeleteCurrentRow(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;True&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;[/code][/codesnippet]</description><pubDate>Wed, 11 Feb 2009 17:03:27 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item></channel></rss>