﻿<?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?)  » How do I get an enum value in Custom BO?</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 09 Sep 2026 22:14:14 GMT</lastBuildDate><ttl>20</ttl><item><title>How do I get an enum value in Custom BO?</title><link>http://forum.strataframe.net/FindPost22685.aspx</link><description>How do I get an enumeration into my Custom BO.&lt;/P&gt;&lt;P&gt;We took the plunge and purchased Sharp-Shooter. We are now utilizing Crystal and SS which replaced ActiveReports. Great move! Now I am trying to display an Enumeration value in the Custom Report BO? &lt;/P&gt;&lt;P&gt;How do do that?&lt;/P&gt;&lt;P&gt;Thanks Much&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;Enumerations.PhoneType&lt;/P&gt;&lt;P&gt;Michael &lt;/P&gt;&lt;P&gt;Patient.Enumerations.PhoneType</description><pubDate>Thu, 09 Apr 2009 08:40:00 GMT</pubDate><dc:creator>Michael Reese</dc:creator></item><item><title>RE: How do I get an enum value in Custom BO?</title><link>http://forum.strataframe.net/FindPost22687.aspx</link><description>Thanks Trent,&lt;/P&gt;&lt;P&gt;I also found an excellent example in the Flix Application. I should have gone there before posting this.&lt;/P&gt;&lt;P&gt;Michael</description><pubDate>Thu, 09 Apr 2009 08:40:00 GMT</pubDate><dc:creator>Michael Reese</dc:creator></item><item><title>RE: How do I get an enum value in Custom BO?</title><link>http://forum.strataframe.net/FindPost22686.aspx</link><description>Are you just wanting to show the text representation of the enumeration on the report?&amp;nbsp; I assume that is what you are getting at.&amp;nbsp; In this case, if you are tagging each enum item with the MicroFour.StrataFrame.Tools.EnumDisplayValue("MyValue") (which I recommend) then you can call the following code:&lt;/P&gt;&lt;P&gt;[codesnippet]MicroFour.StrataFrame.Tools.Common.GetEnumDisplayValue(MyBO.MyEnumField)[/codesnippet]&lt;/P&gt;&lt;P&gt;In a report scenario, it would most likely be easiest to create a custom property to expose this.&amp;nbsp; Let me know if this isn't what you were getting at.</description><pubDate>Thu, 09 Apr 2009 08:28:29 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>