﻿<?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?)  » Missing End If</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 20 May 2026 06:37:41 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Missing End If</title><link>http://forum.strataframe.net/FindPost11142.aspx</link><description>Incidentally, you could put the assemblies anywhere you want, you would just have to change the &lt;/P&gt;&lt;P&gt;&amp;lt;Assembly&amp;gt;C:\Program Files\Common Files\MicroFour\StrataFrame\MicroFour StrataFrame AddIns.dll&amp;lt;/Assembly&amp;gt;&lt;/P&gt;&lt;P&gt;line within the .AddIn file to match the proper path to the AddIns.dll.&amp;nbsp; Glad you figured it out, though.</description><pubDate>Tue, 28 Aug 2007 08:43:50 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>Missing End If</title><link>http://forum.strataframe.net/FindPost7088.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I changed the Null Value option on three columns from Return Alternate on Null to Return Alternate on Null / Set Null on Alternate (value type) and the generated code was missing an End If - see below:&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;''' &amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;''' AGTSequ&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;''' &amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;''' &amp;lt;remarks&amp;gt;&amp;lt;/remarks&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&amp;lt;Browsable(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;False&lt;/FONT&gt;&lt;FONT size=2&gt;), _&lt;/P&gt;&lt;P&gt;BusinessFieldDisplayInEditor(), _&lt;/P&gt;&lt;P&gt;Description(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"AGTSequ"&lt;/FONT&gt;&lt;FONT size=2&gt;), _&lt;/P&gt;&lt;P&gt;DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)&amp;gt; _&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Property&lt;/FONT&gt;&lt;FONT size=2&gt; [AGTSequ]() &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; System.Int32&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Get&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;FONT size=2&gt; loValue &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Object&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;loValue = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.CurrentRow.Item(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"AGTSequ"&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;/FONT&gt;&lt;FONT size=2&gt; loValue &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Is&lt;/FONT&gt;&lt;FONT size=2&gt; DBNull.Value &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Then&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Return&lt;/FONT&gt;&lt;FONT size=2&gt; 1&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Else&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Return&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;CType&lt;/FONT&gt;&lt;FONT size=2&gt;(loValue, System.Int32)&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Get&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Set&lt;/FONT&gt;&lt;FONT size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; value &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; System.Int32)&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;/FONT&gt;&lt;FONT size=2&gt; value &amp;lt;&amp;gt; 1 &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Then&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.CurrentRow.Item(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"AGTSequ"&lt;/FONT&gt;&lt;FONT size=2&gt;) = value&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Else&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.CurrentRow.Item(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"AGTSequ"&lt;/FONT&gt;&lt;FONT size=2&gt;) = DBNull.Value&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;----- missing end if here.&lt;FONT color=#0000ff size=2&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Set&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Property&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;Cheers, Peter&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Tue, 28 Aug 2007 08:43:50 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item><item><title>RE: Missing End If</title><link>http://forum.strataframe.net/FindPost11141.aspx</link><description>Aha, glad you got it working :)</description><pubDate>Tue, 28 Aug 2007 08:42:42 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Missing End If</title><link>http://forum.strataframe.net/FindPost11092.aspx</link><description>Thank Ben...I had put them in GAC but had put them in C:\Program Files\MicroFour\StrataFrame\Assemblies instead of C:\Program Files\Common Files\MicroFour\StrataFrame.</description><pubDate>Mon, 27 Aug 2007 09:12:31 GMT</pubDate><dc:creator>choyt</dc:creator></item><item><title>RE: Missing End If</title><link>http://forum.strataframe.net/FindPost11081.aspx</link><description>Did you replace all of the files in your C:\Program Files\Common Files\MicroFour\StrataFrame folder and also drop all 6 into the GAC?&amp;nbsp; It is most likely a missing method exception or a meta-data mismatch caused by having a version of the AddIns DLL that was not built to use the version of the rest of the DLLs that you have.</description><pubDate>Mon, 27 Aug 2007 08:28:52 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Missing End If</title><link>http://forum.strataframe.net/FindPost11061.aspx</link><description>Hi Ben&lt;/P&gt;&lt;P&gt;I installed the patch, but immediately lost my Strataframe menu. I looked at this post (&lt;A href="http://forum.strataframe.net/Topic211-10-1.aspx"&gt;http://forum.strataframe.net/Topic211-10-1.aspx&lt;/A&gt;) but everything seems to look fine. I extracted the files to both C:\Program Files\Common Files\MicroFour\StrataFrame and c:\windows\assembly (i'm guessing that is where I screwed up). See info below for more detail&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/5450fe1d-10d5-416d-b589-8712.jpg"&gt;&lt;/P&gt;&lt;P&gt;This file was renamed with an underscore after I opened Visual Studio.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/7b448388-3bfb-4662-a799-6660.jpg"&gt;&lt;/P&gt;&lt;P&gt;I get this when VS starts. I'm guessing you can't read it but basically...this just says that the addin will be renamed.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/299f5453-bc7a-4cbc-9a52-3b37.JPG"&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here is the contents of the StrataFrame.addin file&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ï»¿&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&amp;gt;&lt;BR&gt;&amp;lt;Extensibility xmlns="&lt;A href="http://schemas.microsoft.com/AutomationExtensibility"&gt;http://schemas.microsoft.com/AutomationExtensibility&lt;/A&gt;"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;lt;HostApplication&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Name&amp;gt;Microsoft Visual Studio Macros&amp;lt;/Name&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Version&amp;gt;8.0&amp;lt;/Version&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;lt;/HostApplication&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;lt;HostApplication&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Name&amp;gt;Microsoft Visual Studio&amp;lt;/Name&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Version&amp;gt;8.0&amp;lt;/Version&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;lt;/HostApplication&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;lt;Addin&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;lt;FriendlyName&amp;gt;StrataFrame Add-In Manager&amp;lt;/FriendlyName&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Description&amp;gt;Adds extended functionality to the Visual Studio development environment for teh MicroFour StrataFrame Application Framework and Database Management Toolkit.&amp;lt;/Description&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;lt;AboutBoxDetails&amp;gt;For more information about MicroFour StrataFrame, visit our website at\rhttp://www.strataframe.net\rCopyright (c) 2005 MicroFour, Inc. Inc.&amp;lt;/AboutBoxDetails&amp;gt;&amp;nbsp;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Assembly&amp;gt;C:\Program Files\Common Files\MicroFour\StrataFrame\MicroFour StrataFrame AddIns.dll&amp;lt;/Assembly&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;lt;FullClassName&amp;gt;MicroFour.StrataFrame.AddIns.AddInManager&amp;lt;/FullClassName&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;lt;LoadBehavior&amp;gt;1&amp;lt;/LoadBehavior&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;lt;CommandPreload&amp;gt;0&amp;lt;/CommandPreload&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;lt;CommandLineSafe&amp;gt;0&amp;lt;/CommandLineSafe&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;lt;/Addin&amp;gt;&lt;BR&gt;&amp;lt;/Extensibility&amp;gt;&lt;BR&gt;</description><pubDate>Fri, 24 Aug 2007 10:25:31 GMT</pubDate><dc:creator>choyt</dc:creator></item><item><title>RE: Missing End If</title><link>http://forum.strataframe.net/FindPost10997.aspx</link><description>It's been fixed and posted here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://forum.strataframe.net/Topic10915-10-1.aspx"&gt;http://forum.strataframe.net/Topic10915-10-1.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There were several threads that brought up this issue... I'll try to find all of them and post the link to the update.</description><pubDate>Wed, 22 Aug 2007 11:32:56 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Missing End If</title><link>http://forum.strataframe.net/FindPost10962.aspx</link><description>I just got this error as well.&amp;nbsp; After rebuilding all of my BOs I have 680 errors...all the missing End If error.&amp;nbsp; I would like to use this feature as I think it is a very good idea, so please let us know when the fix is available.</description><pubDate>Tue, 21 Aug 2007 10:55:31 GMT</pubDate><dc:creator>Andria Jensen</dc:creator></item><item><title>RE: Missing End If</title><link>http://forum.strataframe.net/FindPost10833.aspx</link><description>We will do our best to make sure it is in the next update.&amp;nbsp; Thanks. :)</description><pubDate>Mon, 13 Aug 2007 15:27:56 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Missing End If</title><link>http://forum.strataframe.net/FindPost10802.aspx</link><description>Hi Ben&lt;/P&gt;&lt;P&gt;Any idea when this will be available?</description><pubDate>Fri, 10 Aug 2007 09:52:38 GMT</pubDate><dc:creator>choyt</dc:creator></item><item><title>RE: Missing End If</title><link>http://forum.strataframe.net/FindPost10800.aspx</link><description>Oh, yes, for some reason that bug didn't show up in our query when we were getting&amp;nbsp;a list of the bugs to fix.&amp;nbsp; We'll get it done.&amp;nbsp; Thanks ;)</description><pubDate>Fri, 10 Aug 2007 09:44:13 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Missing End If</title><link>http://forum.strataframe.net/FindPost10793.aspx</link><description>Hi Folks&lt;/P&gt;&lt;P&gt;I'm using a copy of SF that I downloaded July 23rd of last month but I'm still getting the same error as described in this thread. &lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/831e8a16-37dd-4f3f-8db2-51f2.JPG"&gt;&lt;/P&gt;&lt;P&gt;My copy of StrataFrame BO.dll is 1.6.0.0 but my help file has a section named "&lt;FONT face=Arial size=2&gt;What's New in StrataFrame Version 1.6.1" so I'm pretty confident that I installed 1.6.0.1.&lt;/FONT&gt;</description><pubDate>Thu, 09 Aug 2007 20:18:39 GMT</pubDate><dc:creator>choyt</dc:creator></item><item><title>RE: Missing End If</title><link>http://forum.strataframe.net/FindPost7091.aspx</link><description>Aha... thank you... I will get that fixed.</description><pubDate>Wed, 21 Feb 2007 17:05:11 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>