<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Microsoft Access 2010 : Report</title><link>http://blogs.msdn.com/access/archive/tags/Report/default.aspx</link><description>Tags: Report</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Convert hexadecimal color codes so you can use them in code</title><link>http://blogs.msdn.com/access/archive/2009/10/26/convert-hexadecimal-color-codes-so-you-can-use-them-in-code.aspx</link><pubDate>Mon, 26 Oct 2009 15:14:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9912963</guid><dc:creator>cdowns</dc:creator><slash:comments>9</slash:comments><comments>http://blogs.msdn.com/access/comments/9912963.aspx</comments><wfw:commentRss>http://blogs.msdn.com/access/commentrss.aspx?PostID=9912963</wfw:commentRss><description>&lt;h5&gt;Today's guest blogger is Michael Merlin, Lead Software Developer at &lt;a href="http://ecoms.com" target="_blank"&gt;Electronic Communities&lt;/a&gt;. &lt;/h5&gt;  &lt;p&gt;I recently wasted an hour trying to set a field's Back Color property to the hex code generated by the color picker. I figured it out after some searching, but still nobody online had the exact correct answer. I wrote a function that lets you easily use the hex color in code. The secret is to swap the R and the B, and then convert the hex to long. Further explanation follows in the comments of the function.&lt;/p&gt;  &lt;p&gt;Cheers!    &lt;br /&gt;Michael&lt;/p&gt;  &lt;pre class="csharpcode"&gt;&lt;span class="kwrd"&gt;Public&lt;/span&gt; &lt;span class="kwrd"&gt;Function&lt;/span&gt; HexColor(strHex &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;String&lt;/span&gt;) &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;Long&lt;/span&gt;

    &lt;span class="rem"&gt;'converts Hex string to long number, for colors&lt;/span&gt;
    &lt;span class="rem"&gt;'the leading # is optional&lt;/span&gt;

    &lt;span class="rem"&gt;'example usage&lt;/span&gt;
    &lt;span class="rem"&gt;'Me.iSupplier.BackColor = HexColor(&amp;quot;FCA951&amp;quot;)&lt;/span&gt;
    &lt;span class="rem"&gt;'Me.iSupplier.BackColor = HexColor(&amp;quot;#FCA951&amp;quot;)&lt;/span&gt;

    &lt;span class="rem"&gt;'the reason for this function is to programmatically use the&lt;/span&gt;
    &lt;span class="rem"&gt;'Hex colors generated by the color picker.&lt;/span&gt;
    &lt;span class="rem"&gt;'The trick is, you need to reverse the first and last hex of the&lt;/span&gt;
    &lt;span class="rem"&gt;'R G B combination and convert to Long&lt;/span&gt;
    &lt;span class="rem"&gt;'so that if the color picker gives you this color #FCA951&lt;/span&gt;
    &lt;span class="rem"&gt;'to set this in code, we need to return CLng(&amp;amp;H51A9FC)&lt;/span&gt;
    
    &lt;span class="kwrd"&gt;Dim&lt;/span&gt; strColor &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;String&lt;/span&gt;
    &lt;span class="kwrd"&gt;Dim&lt;/span&gt; strR &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;String&lt;/span&gt;
    &lt;span class="kwrd"&gt;Dim&lt;/span&gt; strG &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;String&lt;/span&gt;
    &lt;span class="kwrd"&gt;Dim&lt;/span&gt; strB &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;String&lt;/span&gt;
    
    &lt;span class="rem"&gt;'strip the leading # if it exists&lt;/span&gt;
    &lt;span class="kwrd"&gt;If&lt;/span&gt; Left(strHex, 1) = &lt;span class="str"&gt;&amp;quot;#&amp;quot;&lt;/span&gt; &lt;span class="kwrd"&gt;Then&lt;/span&gt;
        strHex = Right(strHex, Len(strHex) - 1)
    &lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;If&lt;/span&gt;
    
    &lt;span class="rem"&gt;'reverse the first two and last two hex numbers of the R G B values&lt;/span&gt;
    strR = Left(strHex, 2)
    strG = Mid(strHex, 3, 2)
    strB = Right(strHex, 2)
    strColor = strB &amp;amp; strG &amp;amp; strR
    HexColor = &lt;span class="kwrd"&gt;CLng&lt;/span&gt;(&lt;span class="str"&gt;&amp;quot;&amp;amp;H&amp;quot;&lt;/span&gt; &amp;amp; strColor)

&lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;Function&lt;/span&gt;&lt;/pre&gt;
&lt;style type="text/css"&gt;


.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/style&gt;&lt;style type="text/css"&gt;





.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/style&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9912963" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/access/archive/tags/Report/default.aspx">Report</category><category domain="http://blogs.msdn.com/access/archive/tags/User+Interface/default.aspx">User Interface</category><category domain="http://blogs.msdn.com/access/archive/tags/Form/default.aspx">Form</category><category domain="http://blogs.msdn.com/access/archive/tags/Code/default.aspx">Code</category><category domain="http://blogs.msdn.com/access/archive/tags/Power+Tips/default.aspx">Power Tips</category></item><item><title>Free report wizard offer from Gladstone</title><link>http://blogs.msdn.com/access/archive/2009/07/06/free-report-wizard-offer-from-gladstone.aspx</link><pubDate>Mon, 06 Jul 2009 19:28:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9820111</guid><dc:creator>Clint Covington</dc:creator><slash:comments>21</slash:comments><comments>http://blogs.msdn.com/access/comments/9820111.aspx</comments><wfw:commentRss>http://blogs.msdn.com/access/commentrss.aspx?PostID=9820111</wfw:commentRss><description>&lt;p&gt;Mike Hnatt has generously extended to the Access blog readers a &lt;a href="http://gladstonesolutions.com/special.aspx"&gt;FREE version of Gladstone’s Access Report Writer&lt;/a&gt;. Traditionally, he has sold the developer version of the wizard for $995. The offer includes unlimited computer licenses, ability to change report header and page footers, source code, and royalty-free distribution for your application. One of the best things about the wizard is it is re-entrant. You can learn more about the report wizard &lt;a href="http://gladstonesolutions.com/features.aspx"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Here are a few screen shots:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/FreereportwizardofferfromGladstone_855A/reportwriter1_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="reportwriter1" border="0" alt="reportwriter1" src="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/FreereportwizardofferfromGladstone_855A/reportwriter1_thumb.png" width="244" height="178" /&gt;&lt;/a&gt;&amp;#160; &lt;br /&gt;    &lt;br /&gt;&lt;a href="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/FreereportwizardofferfromGladstone_855A/reportwriter2_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="reportwriter2" border="0" alt="reportwriter2" src="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/FreereportwizardofferfromGladstone_855A/reportwriter2_thumb.png" width="244" height="178" /&gt;&lt;/a&gt;     &lt;br /&gt;    &lt;br /&gt;&lt;a href="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/FreereportwizardofferfromGladstone_855A/reportwriter3_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="reportwriter3" border="0" alt="reportwriter3" src="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/FreereportwizardofferfromGladstone_855A/reportwriter3_thumb.png" width="244" height="178" /&gt;&lt;/a&gt;&amp;#160; &lt;br /&gt;    &lt;br /&gt;&lt;a href="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/FreereportwizardofferfromGladstone_855A/reportwriter4_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="reportwriter4" border="0" alt="reportwriter4" src="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/FreereportwizardofferfromGladstone_855A/reportwriter4_thumb.png" width="244" height="178" /&gt;&lt;/a&gt;     &lt;br /&gt;    &lt;br /&gt;&lt;a href="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/FreereportwizardofferfromGladstone_855A/reportwriter5_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="reportwriter5" border="0" alt="reportwriter5" src="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/FreereportwizardofferfromGladstone_855A/reportwriter5_thumb.png" width="244" height="178" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Sample report:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/FreereportwizardofferfromGladstone_855A/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/FreereportwizardofferfromGladstone_855A/image_thumb.png" width="172" height="244" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This is his way to say ‘thanks’ to the Access community. I want to say THANKS back to Mike for the generous offer to the community!&lt;/p&gt;  &lt;p&gt;&lt;em&gt;(Updated post with wizard images 7/5/09)&lt;/em&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9820111" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/access/archive/tags/Report/default.aspx">Report</category><category domain="http://blogs.msdn.com/access/archive/tags/Tools/default.aspx">Tools</category></item><item><title>Check out Gladstone's Report Writer for Microsoft Access</title><link>http://blogs.msdn.com/access/archive/2009/05/27/check-out-gladstone-s-report-writer-for-microsoft-access.aspx</link><pubDate>Wed, 27 May 2009 23:56:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9644940</guid><dc:creator>cdowns</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/access/comments/9644940.aspx</comments><wfw:commentRss>http://blogs.msdn.com/access/commentrss.aspx?PostID=9644940</wfw:commentRss><description>&lt;p&gt;Mike Hnatt at Gladstone Solutions has a nifty Report Writer utility, available at &lt;a href="http://gladstonesolutions.com/default.aspx"&gt;http://gladstonesolutions.com/default.aspx&lt;/a&gt;. The utility lets you create reports and mailing labels quickly and easily, just by stepping through a few wizard-like screens.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/CheckoutGladstonesReportWriterforMicroso_C40A/1_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Gladstone Solutions Report Writer" border="0" alt="Gladstone Solutions Report Writer" src="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/CheckoutGladstonesReportWriterforMicroso_C40A/1_thumb.jpg" width="321" height="215" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;What’s more, Mike is offering a 25% discount through August 31, 2009 for blog readers. When ordering, just type &lt;strong&gt;Access Team Blog&lt;/strong&gt; in the &lt;strong&gt;Please tell us how you found out about us&lt;/strong&gt; box on the order form.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9644940" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/access/archive/tags/Report/default.aspx">Report</category><category domain="http://blogs.msdn.com/access/archive/tags/Tools/default.aspx">Tools</category></item><item><title>How to: Create a Shortcut Menu for a Form, Form Control, or Report</title><link>http://blogs.msdn.com/access/archive/2009/05/21/how-to-create-a-shortcut-menu-for-a-form-form-control-or-report.aspx</link><pubDate>Thu, 21 May 2009 11:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9633085</guid><dc:creator>Mike Stowe</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/access/comments/9633085.aspx</comments><wfw:commentRss>http://blogs.msdn.com/access/commentrss.aspx?PostID=9633085</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;Today’s guest blogger is Edwin Blancovitch. Edwin is president of &lt;/strong&gt;&lt;a href="http://advdev.net/"&gt;&lt;strong&gt;Advanced Developers.net&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;, creators of &lt;/strong&gt;&lt;a href="http://www.easypayroll.net/"&gt;&lt;strong&gt;Easy Payroll&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;, a software package to manage your human resources, payroll, scheduling, time and attendance needs.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;When you're designing a form or report, you may want to provide a method for a user to easily use a command that applies only to the correct context. One way to do this is to create a custom shortcut menu and apply it to a form report, or control. The shortcut menu appears when the user right-clicks the object to which the shortcut menu is applied.&lt;/p&gt;  &lt;p&gt;In earlier versions of Access, you could use the &lt;b&gt;Customize&lt;/b&gt; dialog box to create custom shortcut menus. In Microsoft Office Access 2007, you must use Visual Basic for Applications (VBA) code to create a shortcut menu. This article shows you how to create a shortcut menu using VBA.&lt;/p&gt;  &lt;p&gt;To create a shortcut menu, you first have to create a &lt;b&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/aa432092.aspx"&gt;CommandBar&lt;/a&gt;&lt;/b&gt; object. The &lt;b&gt;CommandBar&lt;/b&gt; object represents the shortcut menu. Then, you use the &lt;b&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/aa432790.aspx"&gt;Add&lt;/a&gt;&lt;/b&gt; method to create &lt;b&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/aa432095.aspx"&gt;CommandBarControl&lt;/a&gt;&lt;/b&gt; objects. Each time you create a &lt;strong&gt;CommandBarControl&lt;/strong&gt; object, a command is added to the shortcut menu.&lt;/p&gt;  &lt;h3&gt;Example 1: A Simple Shortcut Menu&lt;/h3&gt;  &lt;p&gt;The following example creates a shortcut menu named &lt;b&gt;SimpleShortcutMenu&lt;/b&gt; that contains two commands, &lt;b&gt;Remove Filter/Sort&lt;/b&gt; and &lt;b&gt;Filter by Selection&lt;/b&gt;.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; To use the following examples, you must set a reference to the &lt;b&gt;Microsoft Office 12.0 Object Library&lt;/b&gt;. See &lt;a href="http://msdn.microsoft.com/en-us/library/bb256558.aspx"&gt;Set References to Type Libraries&lt;/a&gt; for more information about setting references.&lt;/p&gt;  &lt;pre class="csharpcode"&gt;&lt;span class="kwrd"&gt;Sub&lt;/span&gt; CreateSimpleShortcutMenu()
    &lt;span class="kwrd"&gt;Dim&lt;/span&gt; cmbShortcutMenu &lt;span class="kwrd"&gt;As&lt;/span&gt; Office.CommandBar
    
    &lt;span class="rem"&gt;' Create a shortcut menu named &amp;quot;SimpleShortcutMenu&amp;quot;.&lt;/span&gt;
    &lt;span class="kwrd"&gt;Set&lt;/span&gt; cmbShortcutMenu = CommandBars.Add(&lt;span class="str"&gt;&amp;quot;SimpleShortcutMenu&amp;quot;&lt;/span&gt;, _
                        msoBarPopup, &lt;span class="kwrd"&gt;False&lt;/span&gt;, &lt;span class="kwrd"&gt;False&lt;/span&gt;)
                        
    &lt;span class="rem"&gt;' Add the Remove Filter/Sort command.&lt;/span&gt;
    cmbShortcutMenu.Controls.Add Type:=msoControlButton, Id:=605
    
    &lt;span class="rem"&gt;' Add the Filter By Selection command.&lt;/span&gt;
    cmbShortcutMenu.Controls.Add Type:=msoControlButton, Id:=640
    
    &lt;span class="kwrd"&gt;Set&lt;/span&gt; cmbShortcutMenu = &lt;span class="kwrd"&gt;Nothing&lt;/span&gt;
&lt;span class="kwrd"&gt;End&lt;/span&gt; Sub&lt;/pre&gt;
&lt;style type="text/css"&gt;
.csharpcode {
	background-color: #ffffff; font-family: consolas, "Courier New", courier, monospace; color: black; font-size: small
}
.csharpcode pre {
	background-color: #ffffff; font-family: consolas, "Courier New", courier, monospace; color: black; font-size: small
}
.csharpcode pre {
	margin: 0em
}
.csharpcode .rem {
	color: #008000
}
.csharpcode .kwrd {
	color: #0000ff
}
.csharpcode .str {
	color: #006080
}
.csharpcode .op {
	color: #0000c0
}
.csharpcode .preproc {
	color: #cc6633
}
.csharpcode .asp {
	background-color: #ffff00
}
.csharpcode .html {
	color: #800000
}
.csharpcode .attr {
	color: #ff0000
}
.csharpcode .alt {
	background-color: #f4f4f4; margin: 0em; width: 100%
}
.csharpcode .lnum {
	color: #606060
}&lt;/style&gt;&lt;style type="text/css"&gt;
.csharpcode {
	background-color: #ffffff; font-family: consolas, "Courier New", courier, monospace; color: black; font-size: small
}
.csharpcode pre {
	background-color: #ffffff; font-family: consolas, "Courier New", courier, monospace; color: black; font-size: small
}
.csharpcode pre {
	margin: 0em
}
.csharpcode .rem {
	color: #008000
}
.csharpcode .kwrd {
	color: #0000ff
}
.csharpcode .str {
	color: #006080
}
.csharpcode .op {
	color: #0000c0
}
.csharpcode .preproc {
	color: #cc6633
}
.csharpcode .asp {
	background-color: #ffff00
}
.csharpcode .html {
	color: #800000
}
.csharpcode .attr {
	color: #ff0000
}
.csharpcode .alt {
	background-color: #f4f4f4; margin: 0em; width: 100%
}
.csharpcode .lnum {
	color: #606060
}&lt;/style&gt;

&lt;p&gt;&lt;font face="Courier New"&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;Once you've run the code, the shortcut menu is saved as part of the database. You don't have to run the same code to recreate the shortcut menu each time you open the database.&lt;/p&gt;

&lt;p&gt;To assign the shortcut menu to a form, form control, or report, set &lt;b&gt;Shortcut Menu&lt;/b&gt; property of the object to &lt;b&gt;Yes&lt;/b&gt; and set the &lt;b&gt;Shortcut Menu Bar&lt;/b&gt; property of the object to the name of the shortcut menu. For this example, set the &lt;b&gt;Shortcut Menu Bar&lt;/b&gt; property to &lt;b&gt;SimpleShortcutMenu&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; In some instances, you may want to create a temporary CommandBar. To do this, set the &lt;em&gt;Temporary&lt;/em&gt; argument of the &lt;strong&gt;Add&lt;/strong&gt; method to &lt;strong&gt;True&lt;/strong&gt;. When you do this, the CommandBar is deleted when Access is closed.&lt;/p&gt;

&lt;h3&gt;Example 2: A Shortcut Menu With Grouping&lt;/h3&gt;

&lt;p&gt;The following example creates a shortcut menu named &lt;b&gt;cmdFormFiltering&lt;/b&gt; that contains commands that are useful to use with Continuous forms. In this example, the &lt;b&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/aa432903.aspx"&gt;BeginGroup&lt;/a&gt;&lt;/b&gt; property is used on several controls to group controls visually.&lt;/p&gt;

&lt;pre class="csharpcode"&gt;&lt;span class="kwrd"&gt;Sub&lt;/span&gt; CreateShortcutMenuWithGroups()
    &lt;span class="kwrd"&gt;Dim&lt;/span&gt; cmbRightClick &lt;span class="kwrd"&gt;As&lt;/span&gt; Office.CommandBar
    
    &lt;span class="rem"&gt;' Create the shortcut menu.&lt;/span&gt;
    &lt;span class="kwrd"&gt;Set&lt;/span&gt; cmbRightClick = CommandBars.Add(&lt;span class="str"&gt;&amp;quot;cmdFormFiltering&amp;quot;&lt;/span&gt;, _
                      msoBarPopup, &lt;span class="kwrd"&gt;False&lt;/span&gt;, &lt;span class="kwrd"&gt;False&lt;/span&gt;)
    
    &lt;span class="kwrd"&gt;With&lt;/span&gt; cmbRightClick
        &lt;span class="rem"&gt;' Add the Find command.&lt;/span&gt;
        .Controls.Add msoControlButton, 141
        
        &lt;span class="rem"&gt;' Start a new grouping and add the Sort Ascending command.&lt;/span&gt;
        .Controls.Add(msoControlButton, 210).BeginGroup = &lt;span class="kwrd"&gt;True&lt;/span&gt;
        
        &lt;span class="rem"&gt;' Add the Sort Descending command.&lt;/span&gt;
        .Controls.Add msoControlButton, 211
        
        &lt;span class="rem"&gt;' Start a new grouping and add the Remove Filer/Sort command.&lt;/span&gt;
        .Controls.Add(msoControlButton, 605).BeginGroup = &lt;span class="kwrd"&gt;True&lt;/span&gt;
        
        &lt;span class="rem"&gt;' Add the Filter by Selection command.&lt;/span&gt;
        .Controls.Add msoControlButton, 640
        
        &lt;span class="rem"&gt;' Add the Filter Excluding Selection command.&lt;/span&gt;
        .Controls.Add msoControlButton, 3017
        
        &lt;span class="rem"&gt;' Add the Between... command.&lt;/span&gt;
        .Controls.Add msoControlButton, 10062
    &lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;With&lt;/span&gt;
&lt;span class="kwrd"&gt;End&lt;/span&gt; Sub&lt;/pre&gt;
&lt;style type="text/css"&gt;
.csharpcode {
	background-color: #ffffff; font-family: consolas, "Courier New", courier, monospace; color: black; font-size: small
}
.csharpcode pre {
	background-color: #ffffff; font-family: consolas, "Courier New", courier, monospace; color: black; font-size: small
}
.csharpcode pre {
	margin: 0em
}
.csharpcode .rem {
	color: #008000
}
.csharpcode .kwrd {
	color: #0000ff
}
.csharpcode .str {
	color: #006080
}
.csharpcode .op {
	color: #0000c0
}
.csharpcode .preproc {
	color: #cc6633
}
.csharpcode .asp {
	background-color: #ffff00
}
.csharpcode .html {
	color: #800000
}
.csharpcode .attr {
	color: #ff0000
}
.csharpcode .alt {
	background-color: #f4f4f4; margin: 0em; width: 100%
}
.csharpcode .lnum {
	color: #606060
}&lt;/style&gt;&lt;style type="text/css"&gt;
.csharpcode {
	background-color: #ffffff; font-family: consolas, "Courier New", courier, monospace; color: black; font-size: small
}
.csharpcode pre {
	background-color: #ffffff; font-family: consolas, "Courier New", courier, monospace; color: black; font-size: small
}
.csharpcode pre {
	margin: 0em
}
.csharpcode .rem {
	color: #008000
}
.csharpcode .kwrd {
	color: #0000ff
}
.csharpcode .str {
	color: #006080
}
.csharpcode .op {
	color: #0000c0
}
.csharpcode .preproc {
	color: #cc6633
}
.csharpcode .asp {
	background-color: #ffff00
}
.csharpcode .html {
	color: #800000
}
.csharpcode .attr {
	color: #ff0000
}
.csharpcode .alt {
	background-color: #f4f4f4; margin: 0em; width: 100%
}
.csharpcode .lnum {
	color: #606060
}&lt;/style&gt;

&lt;h3&gt;Example 3: A Shortcut Menu for Reports&lt;/h3&gt;

&lt;p&gt;The following example creates a shortcut menu named &lt;b&gt;cmdReportRightClick&lt;/b&gt; that contains commands that are useful to use with a report. This example illustrates how to change the &lt;b&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/aa432905.aspx"&gt;Caption&lt;/a&gt;&lt;/b&gt; property of each control as they're added to the shortcut menu.&lt;/p&gt;

&lt;pre class="csharpcode"&gt;&lt;pre class="csharpcode"&gt;&amp;#160;&lt;/pre&gt;&lt;style type="text/css"&gt;.csharpcode {
	background-color: #ffffff; font-family: consolas, "Courier New", courier, monospace; color: black; font-size: small
}
.csharpcode pre {
	background-color: #ffffff; font-family: consolas, "Courier New", courier, monospace; color: black; font-size: small
}
.csharpcode pre {
	margin: 0em
}
.csharpcode .rem {
	color: #008000
}
.csharpcode .kwrd {
	color: #0000ff
}
.csharpcode .str {
	color: #006080
}
.csharpcode .op {
	color: #0000c0
}
.csharpcode .preproc {
	color: #cc6633
}
.csharpcode .asp {
	background-color: #ffff00
}
.csharpcode .html {
	color: #800000
}
.csharpcode .attr {
	color: #ff0000
}
.csharpcode .alt {
	background-color: #f4f4f4; margin: 0em; width: 100%
}
.csharpcode .lnum {
	color: #606060
}
&lt;/style&gt;&lt;pre class="csharpcode"&gt;&lt;span class="kwrd"&gt;Sub&lt;/span&gt; CreateReportShortcutMenu()
    &lt;span class="kwrd"&gt;Dim&lt;/span&gt; cmbRightClick &lt;span class="kwrd"&gt;As&lt;/span&gt; Office.CommandBar
    &lt;span class="kwrd"&gt;Dim&lt;/span&gt; cmbControl &lt;span class="kwrd"&gt;As&lt;/span&gt; Office.CommandBarControl

    &lt;span class="kwrd"&gt;Set&lt;/span&gt; cmbRightClick = CommandBars.Add(&lt;span class="str"&gt;&amp;quot;cmdReportsRightClick&amp;quot;&lt;/span&gt;, _
                                        msoBarPopup, &lt;span class="kwrd"&gt;False&lt;/span&gt;, &lt;span class="kwrd"&gt;False&lt;/span&gt;)

    &lt;span class="kwrd"&gt;With&lt;/span&gt; cmbRightClick
        
        &lt;span class="rem"&gt;' Add the Print command.&lt;/span&gt;
        &lt;span class="kwrd"&gt;Set&lt;/span&gt; cmbControl = .Controls.Add(msoControlButton, 2521)
        &lt;span class="rem"&gt;' Change the caption displayed for the control.&lt;/span&gt;
        cmbControl.Caption = &lt;span class="str"&gt;&amp;quot;Quick Print&amp;quot;&lt;/span&gt;
        
        &lt;span class="rem"&gt;' Add the Print command.&lt;/span&gt;
        &lt;span class="kwrd"&gt;Set&lt;/span&gt; cmbControl = .Controls.Add(msoControlButton, 15948)
        &lt;span class="rem"&gt;' Change the caption displayed for the control.&lt;/span&gt;
        cmbControl.Caption = &lt;span class="str"&gt;&amp;quot;Select Pages&amp;quot;&lt;/span&gt;
        
        &lt;span class="rem"&gt;' Add the Page Setup... command.&lt;/span&gt;
        &lt;span class="kwrd"&gt;Set&lt;/span&gt; cmbControl = .Controls.Add(msoControlButton, 247)
        &lt;span class="rem"&gt;' Change the caption displayed for the control.&lt;/span&gt;
        cmbControl.Caption = &lt;span class="str"&gt;&amp;quot;Page Setup&amp;quot;&lt;/span&gt;
        
        &lt;span class="rem"&gt;' Add the Mail Recipient (as Attachment)... command.&lt;/span&gt;
        &lt;span class="kwrd"&gt;Set&lt;/span&gt; cmbControl = .Controls.Add(msoControlButton, 2188)
        &lt;span class="rem"&gt;' Start a new group.&lt;/span&gt;
        cmbControl.BeginGroup = &lt;span class="kwrd"&gt;True&lt;/span&gt;
        &lt;span class="rem"&gt;' Change the caption displayed for the control.&lt;/span&gt;
        cmbControl.Caption = &lt;span class="str"&gt;&amp;quot;Email Report as an Attachment&amp;quot;&lt;/span&gt;
        
        &lt;span class="rem"&gt;' Add the PDF or XPS command.&lt;/span&gt;
        &lt;span class="kwrd"&gt;Set&lt;/span&gt; cmbControl = .Controls.Add(msoControlButton, 12499)
        &lt;span class="rem"&gt;' Change the caption displayed for the control.&lt;/span&gt;
        cmbControl.Caption = &lt;span class="str"&gt;&amp;quot;Save as PDF/XPS&amp;quot;&lt;/span&gt;
        
        &lt;span class="rem"&gt;' Add the Close command.&lt;/span&gt;
        &lt;span class="kwrd"&gt;Set&lt;/span&gt; cmbControl = .Controls.Add(msoControlButton, 923)
        &lt;span class="rem"&gt;' Start a new group.&lt;/span&gt;
        cmbControl.BeginGroup = &lt;span class="kwrd"&gt;True&lt;/span&gt;
        &lt;span class="rem"&gt;' Change the caption displayed for the control.&lt;/span&gt;
        cmbControl.Caption = &lt;span class="str"&gt;&amp;quot;Close Report&amp;quot;&lt;/span&gt;
    &lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;With&lt;/span&gt;
    
    &lt;span class="kwrd"&gt;Set&lt;/span&gt; cmbControl = &lt;span class="kwrd"&gt;Nothing&lt;/span&gt;
    &lt;span class="kwrd"&gt;Set&lt;/span&gt; cmbRightClick = &lt;span class="kwrd"&gt;Nothing&lt;/span&gt;
&lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;Sub&lt;/span&gt;
&lt;/pre&gt;&lt;style type="text/css"&gt;.csharpcode {
	background-color: #ffffff; font-family: consolas, "Courier New", courier, monospace; color: black; font-size: small
}
.csharpcode pre {
	background-color: #ffffff; font-family: consolas, "Courier New", courier, monospace; color: black; font-size: small
}
.csharpcode pre {
	margin: 0em
}
.csharpcode .rem {
	color: #008000
}
.csharpcode .kwrd {
	color: #0000ff
}
.csharpcode .str {
	color: #006080
}
.csharpcode .op {
	color: #0000c0
}
.csharpcode .preproc {
	color: #cc6633
}
.csharpcode .asp {
	background-color: #ffff00
}
.csharpcode .html {
	color: #800000
}
.csharpcode .attr {
	color: #ff0000
}
.csharpcode .alt {
	background-color: #f4f4f4; margin: 0em; width: 100%
}
.csharpcode .lnum {
	color: #606060
}
&lt;/style&gt;&lt;p&gt;&amp;#160;&lt;/p&gt;&lt;/pre&gt;

&lt;h3&gt;Displaying the Shortcut Menu&lt;/h3&gt;

&lt;p&gt;By default, a shortcut menu is displayed when the user right-clicks the object that the shortcut menu is assigned to. The problem is, many users do not know that right-clicking their mouse can display a menu.&lt;/p&gt;

&lt;p&gt;You can use the &lt;a href="http://msdn.microsoft.com/en-us/library/aa432173.aspx"&gt;ShowPopup&lt;/a&gt; method to display a shortcut menu when the user clicks on an object. The following example shows how to display the &lt;strong&gt;cmdFormFiltering&lt;/strong&gt; shortcut menu when the user clicks the Command0 button.&lt;/p&gt;

&lt;pre class="csharpcode"&gt;&lt;span class="kwrd"&gt;Private&lt;/span&gt; &lt;span class="kwrd"&gt;Sub&lt;/span&gt; Command0_Click()
    
    &lt;span class="rem"&gt;' Display the shortcut menu when the user clicks the button.&lt;/span&gt;
    Application.CommandBars(&lt;span class="str"&gt;&amp;quot;cmdFormFiltering&amp;quot;&lt;/span&gt;).ShowPopup
    
&lt;span class="kwrd"&gt;End&lt;/span&gt; Sub&lt;/pre&gt;
&lt;style type="text/css"&gt;
.csharpcode {
	background-color: #ffffff; font-family: consolas, "Courier New", courier, monospace; color: black; font-size: small
}
.csharpcode pre {
	background-color: #ffffff; font-family: consolas, "Courier New", courier, monospace; color: black; font-size: small
}
.csharpcode pre {
	margin: 0em
}
.csharpcode .rem {
	color: #008000
}
.csharpcode .kwrd {
	color: #0000ff
}
.csharpcode .str {
	color: #006080
}
.csharpcode .op {
	color: #0000c0
}
.csharpcode .preproc {
	color: #cc6633
}
.csharpcode .asp {
	background-color: #ffff00
}
.csharpcode .html {
	color: #800000
}
.csharpcode .attr {
	color: #ff0000
}
.csharpcode .alt {
	background-color: #f4f4f4; margin: 0em; width: 100%
}
.csharpcode .lnum {
	color: #606060
}&lt;/style&gt;

&lt;h3&gt;How to Discover the IDs to Use&lt;/h3&gt;

&lt;p&gt;In the previous examples, a numeric ID was used to specify the control to the &lt;strong&gt;Add&lt;/strong&gt; method. How do you find the ID to use for the control that you want to add? Access doesn’t provide a built-in method that you can use to find right ID to use.&lt;/p&gt;

&lt;p&gt;The following example shows how to find the right ID to use. The &lt;strong&gt;CreateCommandBarsWithIDs&lt;/strong&gt; function uses &lt;strong&gt;cbShowButtonFaceIds&lt;/strong&gt; function to create four CommandBars, each with 500 controls. &lt;/p&gt;

&lt;p&gt;The CommandBars are displayed on the &lt;strong&gt;Add-Ins&lt;/strong&gt; tab of the Ribbon. The number displayed beside each icon is the ID to use when adding the control to a shortcut menu.&lt;/p&gt;

&lt;pre class="csharpcode"&gt;&lt;span class="kwrd"&gt;Function&lt;/span&gt; CreateCommandBarsWithIDs()
    &lt;span class="kwrd"&gt;Call&lt;/span&gt; cbShowButtonFaceIds(&lt;span class="str"&gt;&amp;quot;CmdIDs_01&amp;quot;&lt;/span&gt;, 1, 500)
    &lt;span class="kwrd"&gt;Call&lt;/span&gt; cbShowButtonFaceIds(&lt;span class="str"&gt;&amp;quot;CmdIDs_02&amp;quot;&lt;/span&gt;, 501, 1000)
    &lt;span class="kwrd"&gt;Call&lt;/span&gt; cbShowButtonFaceIds(&lt;span class="str"&gt;&amp;quot;CmdIDs_03&amp;quot;&lt;/span&gt;, 1001, 1500)
    &lt;span class="kwrd"&gt;Call&lt;/span&gt; cbShowButtonFaceIds(&lt;span class="str"&gt;&amp;quot;CmdIDs_04&amp;quot;&lt;/span&gt;, 1501, 2000)
&lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;Function&lt;/span&gt;

&lt;span class="kwrd"&gt;Function&lt;/span&gt; cbShowButtonFaceIds(strName &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;String&lt;/span&gt;, _
                             lngIDStart &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;Long&lt;/span&gt;, _
                             lngIDStop &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;Long&lt;/span&gt;)

    &lt;span class="kwrd"&gt;Dim&lt;/span&gt; cbrNewToolBar &lt;span class="kwrd"&gt;As&lt;/span&gt; CommandBar
    &lt;span class="kwrd"&gt;Dim&lt;/span&gt; cmdNewButton &lt;span class="kwrd"&gt;As&lt;/span&gt; CommandBarButton
    &lt;span class="kwrd"&gt;Dim&lt;/span&gt; intCntr &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;Integer&lt;/span&gt;

    &lt;span class="kwrd"&gt;On&lt;/span&gt; &lt;span class="kwrd"&gt;Error&lt;/span&gt; &lt;span class="kwrd"&gt;Resume&lt;/span&gt; &lt;span class="kwrd"&gt;Next&lt;/span&gt;

    &lt;span class="rem"&gt;' Delete the CommandBar if it already exists.&lt;/span&gt;
    Application.CommandBars(strName).Delete

    &lt;span class="rem"&gt;' Create the CommandBar.&lt;/span&gt;
    &lt;span class="kwrd"&gt;Set&lt;/span&gt; cbrNewToolBar = Application.CommandBars.Add( _
                      Name:=strName, temporary:=&lt;span class="kwrd"&gt;True&lt;/span&gt;)

    &lt;span class="rem"&gt;' Loop through the IDs.&lt;/span&gt;
    &lt;span class="kwrd"&gt;For&lt;/span&gt; intCntr = lngIDStart &lt;span class="kwrd"&gt;To&lt;/span&gt; lngIDStop
        &lt;span class="rem"&gt;' Create a new button for each ID.&lt;/span&gt;
        &lt;span class="kwrd"&gt;Set&lt;/span&gt; cmdNewButton = cbrNewToolBar.Controls.Add( _
                         Type:=msoControlButton)

        &lt;span class="kwrd"&gt;With&lt;/span&gt; cmdNewButton
            .FaceId = intCntr
            .TooltipText = &lt;span class="str"&gt;&amp;quot;Faceid= &amp;quot;&lt;/span&gt; &amp;amp; intCntr
            .Caption = intCntr
            .Style = msoButtonIconAndCaptionBelow
        &lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;With&lt;/span&gt;

        &lt;span class="rem"&gt;' This takes awhile to run. Display a count&lt;/span&gt;
        &lt;span class="rem"&gt;' to indicate progress.&lt;/span&gt;
        Debug.Print intCntr &amp;amp; &lt;span class="str"&gt;&amp;quot; of &amp;quot;&lt;/span&gt; &amp;amp; lngIDStop
    &lt;span class="kwrd"&gt;Next&lt;/span&gt; intCntr

    &lt;span class="rem"&gt;' Display the new CommandBar.&lt;/span&gt;
    &lt;span class="kwrd"&gt;With&lt;/span&gt; cbrNewToolBar
        .Width = 600
        .Left = 100
        .Top = 200
        .Visible = &lt;span class="kwrd"&gt;True&lt;/span&gt;
    &lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;With&lt;/span&gt;

    &lt;span class="kwrd"&gt;Set&lt;/span&gt; cbrNewToolBar = &lt;span class="kwrd"&gt;Nothing&lt;/span&gt;
    &lt;span class="kwrd"&gt;Set&lt;/span&gt; cmdNewButton = &lt;span class="kwrd"&gt;Nothing&lt;/span&gt;
&lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;Function&lt;/span&gt;&lt;/pre&gt;
&lt;style type="text/css"&gt;
.csharpcode {
	background-color: #ffffff; font-family: consolas, "Courier New", courier, monospace; color: black; font-size: small
}
.csharpcode pre {
	background-color: #ffffff; font-family: consolas, "Courier New", courier, monospace; color: black; font-size: small
}
.csharpcode pre {
	margin: 0em
}
.csharpcode .rem {
	color: #008000
}
.csharpcode .kwrd {
	color: #0000ff
}
.csharpcode .str {
	color: #006080
}
.csharpcode .op {
	color: #0000c0
}
.csharpcode .preproc {
	color: #cc6633
}
.csharpcode .asp {
	background-color: #ffff00
}
.csharpcode .html {
	color: #800000
}
.csharpcode .attr {
	color: #ff0000
}
.csharpcode .alt {
	background-color: #f4f4f4; margin: 0em; width: 100%
}
.csharpcode .lnum {
	color: #606060
}&lt;/style&gt;&lt;font face="Courier New"&gt;&lt;/font&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9633085" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/access/archive/tags/Access+2007/default.aspx">Access 2007</category><category domain="http://blogs.msdn.com/access/archive/tags/Report/default.aspx">Report</category><category domain="http://blogs.msdn.com/access/archive/tags/User+Interface/default.aspx">User Interface</category><category domain="http://blogs.msdn.com/access/archive/tags/Form/default.aspx">Form</category><category domain="http://blogs.msdn.com/access/archive/tags/Code/default.aspx">Code</category><category domain="http://blogs.msdn.com/access/archive/tags/Power+Tips/default.aspx">Power Tips</category></item><item><title>Roll-your-own “traffic light” icon set</title><link>http://blogs.msdn.com/access/archive/2009/04/16/roll-your-own-traffic-light-icon-set.aspx</link><pubDate>Thu, 16 Apr 2009 22:07:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9553375</guid><dc:creator>accblog</dc:creator><slash:comments>11</slash:comments><comments>http://blogs.msdn.com/access/comments/9553375.aspx</comments><wfw:commentRss>http://blogs.msdn.com/access/commentrss.aspx?PostID=9553375</wfw:commentRss><description>&lt;h6&gt;Posted by Chris Downs, writer, Access IW Content Team&lt;/h6&gt;  &lt;p&gt;Here’s a great tip suggested by Clint Covington. Using an expression and a Rich Text text box, you can create a traffic light indicator in an Access form or report, as in the following illustrations:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/Rollyourowntrafficlighticonset_A475/clip_image002%5B5%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image002[5]" border="0" alt="clip_image002[5]" src="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/Rollyourowntrafficlighticonset_A475/clip_image002%5B5%5D_thumb.jpg" width="315" height="148" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/Rollyourowntrafficlighticonset_A475/clip_image002_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/Rollyourowntrafficlighticonset_A475/clip_image002_thumb.jpg" width="331" height="132" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;First, add a text box to the form or report, and set the following properties:&lt;/p&gt;  &lt;ul&gt;   &lt;table border="0" cellspacing="0" cellpadding="2" width="400"&gt;&lt;tbody&gt;       &lt;tr height="30"&gt;         &lt;td valign="top" width="200"&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           &lt;p&gt;&lt;strong&gt;&lt;u&gt;Property&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         &lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/td&gt;          &lt;td valign="top" width="200"&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;&lt;strong&gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           &lt;p&gt;&lt;strong&gt;&lt;u&gt;Setting&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         &lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="200"&gt;&lt;strong&gt;Text Format&lt;/strong&gt;&lt;/td&gt;          &lt;td valign="top" width="200"&gt;Rich Text&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="200"&gt;&lt;strong&gt;Locked&lt;/strong&gt;&lt;/td&gt;          &lt;td valign="top" width="200"&gt;True&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="200"&gt;&lt;strong&gt;Enabled&lt;/strong&gt;&lt;/td&gt;          &lt;td valign="top" width="200"&gt;False&lt;/td&gt;       &lt;/tr&gt;     &lt;/tbody&gt;&lt;/table&gt; &lt;/ul&gt;  &lt;p&gt;Then, enter the following expression into the &lt;strong&gt;Control Source&lt;/strong&gt; property:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;=&amp;quot;&amp;lt;font face=Webdings size=1 color=&amp;quot; &amp;amp; IIf([&lt;strong&gt;Status&lt;/strong&gt;]=&amp;quot;&lt;strong&gt;Active&lt;/strong&gt;&amp;quot;,&amp;quot;#ED1C24&amp;quot;, IIf([&lt;strong&gt;Status&lt;/strong&gt;]=&amp;quot;&lt;strong&gt;Resolved&lt;/strong&gt;&amp;quot;,&amp;quot;#FFF20C&amp;quot;, IIf([&lt;strong&gt;Status&lt;/strong&gt;]=&amp;quot;&lt;strong&gt;Closed&lt;/strong&gt;&amp;quot;,&amp;quot;#22B14C&amp;quot;))) &amp;amp; &amp;quot;&amp;gt;n &amp;lt;/font&amp;gt;&amp;quot;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Edit the items in bold text so that they refer to field names and values in your database. &lt;/p&gt;  &lt;p&gt;This expression creates an HTML string that the Rich Text text box can interpret. In short, it specifies the letter “n”, which in the Webdings font corresponds to the circular icon. The &lt;strong&gt;IIf&lt;/strong&gt; functions set the icon’s color to red, yellow, or green, respectively. You can nest more &lt;strong&gt;IIf&lt;/strong&gt; statements together to accommodate more values—&lt;a href="http://cloford.com/resources/colours/namedcol.htm" target="_blank"&gt;check out this color reference&lt;/a&gt; to obtain the Hex values of more varied colors.&lt;/p&gt;  &lt;p&gt;Note: Instead of entering the expression in the Control Source property of the text box, you can also create a calculated field in a query, and then bind the text box to that field. For example, in the &lt;strong&gt;Field&lt;/strong&gt; row of the query design grid, enter:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;StatusLight: &amp;quot;&amp;lt;font face=Webdings size=1 color=&amp;quot; &amp;amp; IIf([Status]=&amp;quot;Active&amp;quot;,&amp;quot;#ED1C24&amp;quot;, IIf([Status]=&amp;quot;Resolved&amp;quot;,&amp;quot;#FFF20C&amp;quot;, IIf([Status]=&amp;quot;Closed&amp;quot;,&amp;quot;#22B14C&amp;quot;))) &amp;amp; &amp;quot;&amp;gt;n &amp;lt;/font&amp;gt;&amp;quot;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;And then bind the Rich Text text box to the StatusLight field.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9553375" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/access/archive/tags/Report/default.aspx">Report</category><category domain="http://blogs.msdn.com/access/archive/tags/User+Interface/default.aspx">User Interface</category><category domain="http://blogs.msdn.com/access/archive/tags/Form/default.aspx">Form</category><category domain="http://blogs.msdn.com/access/archive/tags/Power+Tips/default.aspx">Power Tips</category></item><item><title>Video demo of conditional formatting in reports</title><link>http://blogs.msdn.com/access/archive/2008/10/30/video-demo-of-conditional-formatting-in-reports.aspx</link><pubDate>Fri, 31 Oct 2008 03:12:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9025583</guid><dc:creator>Clint Covington</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/access/comments/9025583.aspx</comments><wfw:commentRss>http://blogs.msdn.com/access/commentrss.aspx?PostID=9025583</wfw:commentRss><description>&lt;p&gt;The video &lt;a href="http://office.microsoft.com/en-us/access/HA102852161033.aspx"&gt;Watch this: Highlight values on a report by using conditional formatting&lt;/a&gt; is now live on Office Online.&lt;/p&gt;  &lt;p&gt;Enjoy!&lt;/p&gt;  &lt;p&gt;Edited: October 31, 2008--updated link with correct URL.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9025583" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/access/archive/tags/Report/default.aspx">Report</category><category domain="http://blogs.msdn.com/access/archive/tags/User+Interface/default.aspx">User Interface</category><category domain="http://blogs.msdn.com/access/archive/tags/User+Assistance/default.aspx">User Assistance</category><category domain="http://blogs.msdn.com/access/archive/tags/Power+Tips/default.aspx">Power Tips</category></item><item><title>Label saver utility</title><link>http://blogs.msdn.com/access/archive/2008/10/18/label-saver-utility.aspx</link><pubDate>Sat, 18 Oct 2008 18:29:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9004978</guid><dc:creator>Clint Covington</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/access/comments/9004978.aspx</comments><wfw:commentRss>http://blogs.msdn.com/access/commentrss.aspx?PostID=9004978</wfw:commentRss><description>&lt;p&gt;Peter's Software has recently released a &lt;a href="http://www.peterssoftware.com/ls.htm" target="_blank"&gt;free utility for printing labels&lt;/a&gt;. Here is how they describe it:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;Label Saver is a freeware MS Access module that will allow your users to specify a label printing start position and a number of copies of each label to print. Using Label Saver means you don't have to throw out that half-used sheet of labels. Just continue printing from the next available label!&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9004978" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/access/archive/tags/Report/default.aspx">Report</category></item><item><title>Dot or Bang?</title><link>http://blogs.msdn.com/access/archive/2008/05/30/dot-or-bang.aspx</link><pubDate>Sat, 31 May 2008 03:39:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8565022</guid><dc:creator>robcooper</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/access/comments/8565022.aspx</comments><wfw:commentRss>http://blogs.msdn.com/access/commentrss.aspx?PostID=8565022</wfw:commentRss><description>&lt;p&gt;Here's a question that comes up from time to time. The other day, someone internally asked about the difference between using a dot &amp;quot;.&amp;quot; vs. a bang &amp;quot;!&amp;quot; for control references in a form in VBA. In other words, given a form - Form1, with a control - Control1, what are the differences between:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Form1.Control1&amp;#160;&amp;#160;&amp;#160; &lt;font color="#008000"&gt;' Control reference using a dot&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font face="Courier New" size="2"&gt;- and -&lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Form1!Control1&amp;#160;&amp;#160;&amp;#160; &lt;font color="#008000"&gt;' Control reference using a bang&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/michkap/"&gt;Michael Kaplan&lt;/a&gt; was kind enough to respond with the following:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;The dot gives you early binding and is resolved at compile time, the bang is resolved at runtime. &lt;/li&gt;    &lt;li&gt;In the case of Forms, both controls and fields in the underlying query can be referenced via a dot since they are all in the type library for the form. &lt;/li&gt;    &lt;li&gt;Also in the case of Forms, if you change the underlying query at runtime - dot references to the old query's fields will fail at runtime since update of the Form's type library cannot happen at runtime. &lt;/li&gt;    &lt;li&gt;Because the dot is early bound, IntelliSense happens by default with the dot, not with the bang. &lt;/li&gt;    &lt;li&gt;The dot (since it is early bound) is faster than the bang, but no one runs enough code that uses these items enough for the performance difference to actually matter. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Thanks Michael for responding!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8565022" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/access/archive/tags/Access+2007/default.aspx">Access 2007</category><category domain="http://blogs.msdn.com/access/archive/tags/Report/default.aspx">Report</category><category domain="http://blogs.msdn.com/access/archive/tags/Form/default.aspx">Form</category><category domain="http://blogs.msdn.com/access/archive/tags/Code/default.aspx">Code</category><category domain="http://blogs.msdn.com/access/archive/tags/Access+2003/default.aspx">Access 2003</category><category domain="http://blogs.msdn.com/access/archive/tags/Power+Tips/default.aspx">Power Tips</category></item><item><title>Code to make dates easier to read</title><link>http://blogs.msdn.com/access/archive/2008/02/08/calculating-elapsed-time-is-more-than-just-numbers.aspx</link><pubDate>Sat, 09 Feb 2008 07:19:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7552751</guid><dc:creator>Clint Covington</dc:creator><slash:comments>7</slash:comments><comments>http://blogs.msdn.com/access/comments/7552751.aspx</comments><wfw:commentRss>http://blogs.msdn.com/access/commentrss.aspx?PostID=7552751</wfw:commentRss><description>&lt;P&gt;&lt;EM&gt;Today's author: Kerry Westphal, a program manager who works on the Access team.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;I like how many web 2.0 applications make it very easy to visualize complex data quickly. I found myself recently challenged with this task while working on a project where I wanted to display on a report an easy way to show the time elapsed between the current date and another date.&amp;nbsp; Example scenarios how long it’s been since a user profile has been updated, the time left until taxes are due or how long a library book has been checked out. I didn’t just want to show the hours or even days elapsed, but something more in sync with the way I want the information given to me- specifically that when dates are closer to the current time they are represented more precisely and dates that are farther away are shown generically.&amp;nbsp; I checked out Sal Ricciardi’s article &lt;A href="http://office.microsoft.com/en-us/access/HA011102181033.aspx?pid=CH062526691033" mce_href="http://office.microsoft.com/en-us/access/HA011102181033.aspx?pid=CH062526691033"&gt;On Time and how much has elapsed&lt;/A&gt; to get me started on this work.&lt;/P&gt;
&lt;P&gt;By extending his functions I found just what I was looking for.&amp;nbsp; I wrote the ElapsedDays function along with some helper functions to accomplish this task. The function can be used in a query to obtain a string representation of the time elapsed. The string returned is specific or general based on the time elapsed. For example, if the date is very close to the current date, it would say something like “In 12 hours, 27 minutes”. But if the date was sometime much longer ago, it would return something more general like, “Over a year ago”.&amp;nbsp; Here is an example where I used the ElapsedDays function to keep track of items in my calendar:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/Calculatingelapsedtimeismorethanjustnumb_11DDA/friendlytext_2.png" mce_href="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/Calculatingelapsedtimeismorethanjustnumb_11DDA/friendlytext_2.png"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=196 alt=friendlytext src="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/Calculatingelapsedtimeismorethanjustnumb_11DDA/friendlytext_thumb.png" width=421 border=0 mce_src="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/Calculatingelapsedtimeismorethanjustnumb_11DDA/friendlytext_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Here is the code. Feel free to use it in your applications to help read dates faster with more clarity. &lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;Public Function ElapsedDays(dateTimeStart As Date) _&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; As String&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;'*************************************************************&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;' Function ElapsedDays(dateTimeStart As Date) As String&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;' Returns the time elapsed from today in a friendly string like,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;' "A day ago"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;'*************************************************************&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp; Dim interval As Double, days As Variant&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp; If IsNull(dateTimeStart) = True Then Exit Function&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp; days = dateTimeStart - Now()&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;Dim leapYearNow&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;Dim leapYearBefore&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;If WhenLeapYear() = 1 Then&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;leapYearNow = 366&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;leapYearBefore = 365&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;Else:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;If WhenLeapYear() = 2 Then&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;leapYearNow = 365&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;leapYearBefore = 366&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;Else&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;leapYearNow = 365&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;leapYearBefore = 365&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;End If&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;End If&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;Select Case days&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case Is &amp;lt; -leapYearBefore&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "Over a year ago"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case -leapYearBefore To -MonthTime(5) + -MonthTime(4)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "In the last year"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case -MonthTime(5) + -MonthTime(4) To -MonthTime(4)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "Over a month ago"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case -MonthTime(4) To -28&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "Over four weeks ago"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case -28 To -21&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "Over three weeks ago"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case -21 To -13&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "Over two weeks ago"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case -13 To -7&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "Over a week ago"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case -7 To -6&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "Over six days ago"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case -6 To -5&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "Over five days ago"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case -5 To -4&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "Over four days ago"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case -4 To -3&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "Over three days ago"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case -3 To -2&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "Over two days ago"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case -2 To -1&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "Over a day ago"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case -1 To 0&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = ElapsedTimeString(dateTimeStart) &amp;amp; " ago"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 0 To 1&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "In " &amp;amp; ElapsedTimeString(dateTimeStart)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 1 To 2&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "In over one day"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 2 To 3&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "In over two days"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 3 To 4&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "In over three days"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 4 To 5&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "In over four days"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 5 To 6&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "In over five days"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 6 To 7&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "In over six days"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 7 To 14&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "In over a week"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 14 To 21&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "In over two weeks"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 21 To 28&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "In over three weeks"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 28 To MonthTime(1)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "In over four weeks"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case MonthTime(1) To MonthTime(2) + MonthTime(1)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "In over a month"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case MonthTime(2) + MonthTime(1) To MonthTime(3) + MonthTime(2) + MonthTime(1)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "In over two months"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case MonthTime(3) + MonthTime(2) + MonthTime(1) To leapYearNow&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "In less than a year"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case Is &amp;gt; leapYearNow&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElapsedDays = "In over a year"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;End Select&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;If ElapsedDays = "0 ago" Or ElapsedDays = "In 0" Then ElapsedDays = "Now"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;End Function&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;Public Function IsLeapYear()&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;Dim leap As Variant&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; leap = DatePart("yyyy", Now())&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If (leap Mod 4 = 0) And ((leap Mod 100 &amp;lt;&amp;gt; 0) Or (leap Mod 400 = 0)) Then IsLeapYear = 29 Else IsLeapYear = 28&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;End Function&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;Public Function WhenLeapYear()&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;Dim leap As Variant&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; leap = DatePart("yyyy", Now())&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If (leap Mod 4 = 0) And ((leap Mod 100 &amp;lt;&amp;gt; 0) Or (leap Mod 400 = 0)) Then&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WhenLeapYear = 1&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Function&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; leap = leap - 1&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If (leap Mod 4 = 0) And ((leap Mod 100 &amp;lt;&amp;gt; 0) Or (leap Mod 400 = 0)) Then&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WhenLeapYear = 2&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Function&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WhenLeapYear = 3&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;End Function&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;Public Function MonthTime() _&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;As Variant&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;Dim month As Variant&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;Dim MonthTime1(5) As Variant&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;month = DatePart("m", Now())&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;Select Case month&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 1 'January&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(1) = 31 'January&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(2) = IsLeapYear() 'February&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(3) = 31 'March&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(4) = 31 'December&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(5) = 30 'November&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 2 ' February&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(1) = IsLeapYear() 'February&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(2) = 31 'March&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(3) = 30 'April&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(4) = 31 'January&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(5) = 31 'December&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 3 'March&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(1) = 31 'March&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(2) = 30 'April&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(3) = 31 'May&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(4) = IsLeapYear() ' February&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(5) = 31 'January&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 4 'April&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(1) = 30 'April&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(2) = 31 'May&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(3) = 30 'June&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(4) = 31 'March&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(5) = IsLeapYear() ' February&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 5 'May&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(1) = 31 'May&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(2) = 30 'June&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(3) = 31 'July&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(4) = 30 'April&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(5) = 31 'March&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 6 'June&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(1) = 30 'June&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(2) = 31 'July&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(3) = 31 'August&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(4) = 31 'May&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(5) = 30 'April&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 7 'July&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(1) = 31 'July&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(2) = 31 'August&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(3) = 30 'September&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(4) = 30 'June&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(5) = 31 'May&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 8 'August&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(1) = 30 'August&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(2) = 31 'September&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(3) = 31 'October&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(4) = 31 'July&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(5) = 30 'June&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 9 'September&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(1) = 31 'September&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(2) = 31 'October&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(3) = 30 'November&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(4) = 30 'August&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(5) = 31 'July&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 10 'October&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(1) = 31 'October&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(2) = 30 'November&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(3) = 31 'December&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(4) = 31 'September&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(5) = 30 'August&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 11 'November&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(1) = 30 'November&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(2) = 31 'December&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(3) = 31 'January&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(4) = 31 'October&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(5) = 31 'September&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 12 'December&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(1) = 31 'December&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(2) = 31 'January&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(3) = IsLeapYear()&amp;nbsp; 'February&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(4) = 30 'November&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime1(5) = 31 'October&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Select&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTime = MonthTime1&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;End Function&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;Public Function ElapsedTimeString(dateTimeStart As Date) _&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; As String&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;'*************************************************************&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;' Function ElapsedTimeString(dateTimeStart As Date,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dateTimeEnd As Date) As String&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;' Returns the time elapsed between a starting Date/Time and&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;' an ending Date/Time formatted as a string that looks like&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;' this:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;' "20 hours, 30 minutes".&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;'*************************************************************&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp; Dim interval As Double, str As String, days As Variant&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp; Dim hours As String, minutes As String, seconds As String&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp; If IsNull(dateTimeStart) = True Then Exit Function&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp; interval = Now() - dateTimeStart&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp; hours = Format(interval, "h")&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp; minutes = Format(interval, "n")&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;' Hours part of the string&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp; str = str &amp;amp; IIf(hours = "0", "", _&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IIf(hours = "1", hours &amp;amp; " hour", hours &amp;amp; " hours"))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp; str = str &amp;amp; IIf(hours = "0", "", _&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IIf(minutes &amp;lt;&amp;gt; "0", ", ", " "))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;' Minutes part of the string&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp; str = str &amp;amp; IIf(minutes = "0", "", _&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IIf(minutes = "1", minutes &amp;amp; " minute", _&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; minutes &amp;amp; " minutes"))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp; ElapsedTimeString = IIf(str = "", "0", str)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;End Function&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7552751" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/access/archive/tags/Report/default.aspx">Report</category><category domain="http://blogs.msdn.com/access/archive/tags/User+Interface/default.aspx">User Interface</category><category domain="http://blogs.msdn.com/access/archive/tags/Code/default.aspx">Code</category><category domain="http://blogs.msdn.com/access/archive/tags/Power+Tips/default.aspx">Power Tips</category></item><item><title>Four new video demos about reports</title><link>http://blogs.msdn.com/access/archive/2008/01/16/four-new-video-demos-about-reports.aspx</link><pubDate>Thu, 17 Jan 2008 09:40:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7140357</guid><dc:creator>Clint Covington</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/access/comments/7140357.aspx</comments><wfw:commentRss>http://blogs.msdn.com/access/commentrss.aspx?PostID=7140357</wfw:commentRss><description>&lt;p&gt;The Office Online writers for Access have recently produced four cool video demos about designing reports. The effort should help the topic &lt;a href="http://office.microsoft.com/en-us/access/HA100141171033.aspx"&gt;Modify a report&lt;/a&gt; become much easier for people to understand.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://office.microsoft.com/en-us/access/HA100141171033.aspx"&gt;&lt;img alt="Splitting a control layout into two layouts" src="http://office.microsoft.com/global/images/default.aspx?assetid=ZA102545241033" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7140357" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/access/archive/tags/Report/default.aspx">Report</category></item><item><title>Tips and tricks designing forms and reports</title><link>http://blogs.msdn.com/access/archive/2008/01/11/tips-and-tricks-designing-forms-and-reports.aspx</link><pubDate>Fri, 11 Jan 2008 12:02:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7070536</guid><dc:creator>Clint Covington</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/access/comments/7070536.aspx</comments><wfw:commentRss>http://blogs.msdn.com/access/commentrss.aspx?PostID=7070536</wfw:commentRss><description>&lt;p&gt;This is the final post of a three part series on Access Tips and Tricks provided by members of the Access team. It was originally posted on my &lt;a href="http://blogs.msdn.com/clintcovington/default.aspx"&gt;blog&lt;/a&gt; but I'm reposting here for the benefit of the broader audience.&lt;/p&gt;  &lt;h3&gt;Custom AutoFormats&lt;/h3&gt;  &lt;p&gt;You can create a custom AutoFormat based on the current form. This was useful to me when I was customizing a template and didn&amp;#8217;t want it to look exactly like the ones out of the box. With your form or report in Layout or Design views, under the Format contextual tab, drop down the list of AutoFormats and choose AutoFormat Wizard&amp;#8230; Then click on Customize and choose &amp;#8220;Create a new AutoFormat based on the form &amp;#8216;Current&amp;#8217;.&amp;#8221; It requires some effort to get it exactly right, but what I did was make a form that had all the elements I might need (logo, title, labels, text boxes, etc.) and create the AutoFormat based on that, then apply it to all the other forms/reports. &amp;#8211;Abigail (form and report developer)&lt;/p&gt;  &lt;h3&gt;Layouts&lt;/h3&gt;  &lt;p&gt;I&amp;#8217;m a big fan of layouts and anchoring for creating forms that use the available real estate. However, it gets really annoying when a layout tries to suck in a control as it gets close to the layout. Why doesn&amp;#8217;t Access read my mind and know that I didn&amp;#8217;t intend for that control to go into the layout? Grrr!!! We tried to implement the &amp;#8220;read my mind&amp;#8221; feature but didn&amp;#8217;t get very far!&lt;/p&gt;  &lt;p&gt;As you drag controls near stacks, hold the CTRL key to keep fields from being sucked into stacks. This makes it possible to put red stars next to text boxes or move boxes behind controls to provide visual separation.&lt;/p&gt;  &lt;p&gt;Another tip&amp;#8212;you might notice all buttons in command bars are in stacks. We put them into stacks so that they would resize correctly in localized builds at instantiation time.&amp;#160; Feel free to get rid of the stack&amp;#8212;it doesn&amp;#8217;t provide any functional value once the template is opened.&lt;/p&gt;  &lt;p&gt;One last command I found really helpful when designing reports--on the right click menu for a control in layout and design mode there is the Layout | Move Up a Section and Move Down a Section. I have found this more useful than I expected when you are &lt;span style="font-size: 10pt; font-family: &amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;experimenting &lt;/span&gt;with different groupings.&lt;/p&gt;  &lt;h3&gt;Truncated Numbers&lt;/h3&gt;  &lt;p&gt;Ever had someone make a bad decision because a number was truncated?&amp;#160; There is a new property called &amp;#8220;Check for truncated number fields.&amp;#8221;&amp;#160; When this option is enabled, numbers appear as &amp;quot;#####&amp;quot; when the column is too narrow to display the entire value. When this option is not enabled, you see only part of the values in a column.&lt;/p&gt;  &lt;h3&gt;Transparent Images and Smaller Databases&lt;/h3&gt;  &lt;p&gt;If you have an existing mdb database, you know that adding images dramatically increase the size of the database. You also know that the images don&amp;#8217;t preserve transparency. You set the option in the Access Options | Current Database. Here is what the help file says about preserver image format:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;em&gt;Preserve source image format (smaller file size)&lt;/em&gt;&amp;#160; When this option is selected, Access stores images in their original format. Select this option to reduce database size. &lt;/li&gt;    &lt;li&gt;&lt;em&gt;Convert all picture data to bitmaps (compatible with Access 2003 and earlier)&lt;/em&gt;&amp;#160; When this option is selected, Access creates a copy of the original image file in either the Windows Bitmap or Device Independent Bitmap formats. Select this option to view images in databases created in Office Access 2003 and earlier. &lt;/li&gt; &lt;/ul&gt;  &lt;h3&gt;Binding Images to External Files&lt;/h3&gt;  &lt;p&gt;It is a royal pain to bind the image control to external files. The code is messy and sometimes the JPG filter doesn&amp;#8217;t work correctly. Fortunately, late in the development cycle Brian made it possible to set the control source on image controls to UNC paths. Give it a try&amp;#8212;create a text field that contains UNC paths to pictures in your favorite image library. Drop the image control on a form give it a run.&lt;/p&gt;  &lt;h3&gt;Easy Database Lockdown&lt;/h3&gt;  &lt;p&gt;If you are looking for a simple way to share a database with co-workers and you don&amp;#8217;t want them messing around with things&amp;#8230; Try renaming the file to ACCDR. This is the equivalent of running the database with the /runtime switch. Basically the ribbon and nav pane get turned off.&lt;/p&gt;  &lt;h3&gt;Save Embedded Macros as VBA&lt;/h3&gt;  &lt;p&gt;Access 2007 introduces a new type of macros called embedded macros. Embedded macros are macros that are stored on an event instead of as a separate object. Embedded macros support name fix-up and are used extensively through-out our templates. They are largely targeted to information workers that don&amp;#8217;t write code but useful for developers that are trying to perform some simple actions. &lt;/p&gt;  &lt;p&gt;I admit some types of macros are easier to maintain as code for developers. Thanks to a late DCR it is possible to convert all the macros in a form or report to VBA. Open the object in design view and Go to the Database Tools tab. Click on the Convert Form&amp;#8217;s Macros to Visual Basic. &lt;/p&gt;  &lt;p&gt;&lt;img title="Convert macros to code." style="width: 275px; height: 91px" height="91" alt="Convert macros to code." src="http://clintc.officeisp.net/Blogs/2007/2_Tips/_ConvertMacrosToCode.jpg" width="275" mce_src="http://clintc.officeisp.net/Blogs/2007/2_Tips/_ConvertMacrosToCode.jpg" /&gt;&lt;/p&gt;  &lt;h3&gt;Hyperlinks and Hand on Hover for Buttons&lt;/h3&gt;  &lt;p&gt;Hyperlinks have a new Display as Hyperlink property that doesn&amp;#8217;t munge # signs. It also prints hyperlinks as black text instead of blue underlies. Also, buttons have some new cool properties including transparent and a hand on hover property. (Abigail &amp;#8211; Form and report developer)&lt;/p&gt;  &lt;h3&gt;Developer Help&lt;/h3&gt;  &lt;p&gt;End user and developer help is separated out so that end users don&amp;#8217;t get confused with developer topics and developers don&amp;#8217;t get bored with end user&amp;#8217;s topics. You can easily switch between the two with the search dropdown.&lt;/p&gt;  &lt;p&gt;&lt;img title="Seach scope for end users and developers." style="width: 325px; height: 434px" height="434" alt="Seach scope for end users and developers." src="http://clintc.officeisp.net/Blogs/2006/42%20-%20UA/UA_Search.jpg" width="325" mce_src="http://clintc.officeisp.net/Blogs/2006/42%20-%20UA/UA_Search.jpg" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Another previous post that might be interesting to you was my post &lt;a class="" href="http://blogs.msdn.com/clintcovington/archive/2006/11/25/ideas-about-creating-great-looking-reports.aspx" mce_href="http://blogs.msdn.com/clintcovington/archive/2006/11/25/ideas-about-creating-great-looking-reports.aspx"&gt;Ideas about great looking reports&lt;/a&gt;. &lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7070536" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/access/archive/tags/Access+2007/default.aspx">Access 2007</category><category domain="http://blogs.msdn.com/access/archive/tags/Report/default.aspx">Report</category><category domain="http://blogs.msdn.com/access/archive/tags/Form/default.aspx">Form</category><category domain="http://blogs.msdn.com/access/archive/tags/Power+Tips/default.aspx">Power Tips</category></item><item><title>Using Hyperlinks in Access: Display As Hyperlink and Is Hyperlink</title><link>http://blogs.msdn.com/access/archive/2008/01/09/using-hyperlinks-in-access-display-as-hyperlink-and-is-hyperlink.aspx</link><pubDate>Wed, 09 Jan 2008 23:47:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7045395</guid><dc:creator>Steven Greenberg</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/access/comments/7045395.aspx</comments><wfw:commentRss>http://blogs.msdn.com/access/commentrss.aspx?PostID=7045395</wfw:commentRss><description>&lt;p&gt;Those of you transitioning to Access 2007 from earlier versions of the product may notice the addition of a new property on the TextBox and ComboBox controls: &lt;strong&gt;Display As Hyperlink&lt;/strong&gt;. You may wonder how this new property interacts with the existing &lt;strong&gt;Is Hyperlink&lt;/strong&gt; property. I asked that question myself and found that the available documentation left some of my questions unanswered. So I&amp;#8217;m writing this blog post to hopefully fill that void. &lt;/p&gt;  &lt;p&gt;First of all, if you&amp;#8217;re happy with pre-Access 2007 behavior, just keep &lt;strong&gt;Display As Hyperlink&lt;/strong&gt; set to its default value, &amp;#8220;If Hyperlink&amp;#8221;. &lt;/p&gt;  &lt;p&gt;The key point about &lt;strong&gt;Display As Hyperlink&lt;/strong&gt; is this: You&amp;#8217;ll want to change &lt;strong&gt;Display As&lt;/strong&gt; &lt;strong&gt;Hyperlink&lt;/strong&gt; to &amp;#8220;Always&amp;#8221; if you want a combo box or text box to appear like a hyperlink even though it&amp;#8217;s actually tied to a text field not a hyperlink field. By doing this, you can leverage your users&amp;#8217; familiarity with the hyperlink look and feel and encourage them to click on a field in order to trigger some action.     &lt;br /&gt;You&amp;#8217;ll see examples of this technique throughout the Access 2007 templates. For instance, take a look at the ID field in the Contact List form in the Contacts template. Clicking on the ID field drills through to the Contact Details form for the specified row.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/UsingHyperlinksinAccessDisplayAsHyperlin_9E8B/Contacts%20Template_2.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="160" alt="Contacts Template" src="http://blogs.msdn.com/blogfiles/access/WindowsLiveWriter/UsingHyperlinksinAccessDisplayAsHyperlin_9E8B/Contacts%20Template_thumb.png" width="608" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Setting &lt;strong&gt;Display As Hyperlink &lt;/strong&gt;causes the text in the ComboBox or TextBox to be colored blue and underlined. (Note that the hyperlink color doesn&amp;#8217;t have to be blue. It can be customized by clicking the Office button, going to the Advanced tab and clicking Web Options.) Additionally, when hovering over the control, the cursor turns from a pointer into a Hyperlink Hand. &lt;/p&gt;  &lt;p&gt;In the past, folks might have accomplished these goals by just setting &lt;strong&gt;Is Hyperlink&lt;/strong&gt; to &amp;#8220;Yes&amp;#8221;. But there are three subtle problems with this approach. One problem is that setting Is Hyperlink to &amp;#8220;Yes&amp;#8221; does not make the control&amp;#8217;s OnClick event keyboard-accessible. But setting Display As Hyperlink to &amp;#8220;Always&amp;#8221; means that when the user tabs to the control and hits the Enter key, any macros tied to an OnClick event will be run.&lt;/p&gt;  &lt;p&gt;The second problem with setting &lt;strong&gt;Is Hyperlink&lt;/strong&gt; to &amp;#8220;Yes&amp;#8221; is that it causes the control to be editable as if it&amp;#8217;s a hyperlink. So you can right click on the control and select &amp;#8220;Edit Hyperlink&amp;#8221;. This doesn&amp;#8217;t make sense when the field is not actually the hyperlink data type, and can lead to undesirable results.&lt;/p&gt;  &lt;p&gt;The third problem with setting &lt;strong&gt;Is Hyperlink&lt;/strong&gt; to &amp;#8220;Yes&amp;#8221; is that it causes the text of the control to be parsed as if its datatype is &amp;quot;hyperlink&amp;quot;. The hyperlink datatype in Access makes it possible for a single field to store and edit the display text, address, sub-address and tooltip for a hyperlink.This is done by storing the four values together in a single line of text with the values separated by hash signs. Specifically, the syntax is: DisplayText#Address#SubAddress#Tooltip. Putting aside the tooltip and sub address for the sake of example, when you set a hyperlink field to &lt;a href="http://www.microsoft.com"&gt;Microsoft&amp;#8217;s web site&lt;/a&gt;, that value is stored in the database as &amp;#8220;Microsoft&amp;#8217;s Website#&lt;a href="http://www.microsoft.com##&amp;rdquo;"&gt;http://www.microsoft.com##&amp;#8221;&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;So if you were unfortunate enough to set &lt;strong&gt;Is Hyperlink&lt;/strong&gt; to &amp;#8220;Yes&amp;#8221; on a field with values that have # signs in them, no text after the # sign would get displayed to the user. The user might enter &amp;#8220;200 Main Street, Apartment # 23&amp;#8221;. But when they looked back at the form, they would only see &amp;#8220;200 Main Street Apartment&amp;#8221;. Setting &lt;strong&gt;Display As Hyperlink&lt;/strong&gt; to &amp;#8220;Always&amp;#8221; does not cause the text of the field to be interpreted as an encoded hyperlink.&lt;/p&gt;  &lt;p&gt;One final note: There&amp;#8217;s an additional third option for &lt;strong&gt;Display As Hyperlink&lt;/strong&gt;: &amp;#8220;Screen Only&amp;#8221;. This is a great option to use when building the kinds of interactive reports which are now possible with Access 2007. You want the field to show up as a hyperlink on the screen, but when the report is printed out, there&amp;#8217;s no need to show the text as blue and underlined.     &lt;br /&gt;I hope this can help you understand a new property in Access 2007 that can be a bit confusing at first sight.     &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;Steven&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7045395" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/access/archive/tags/Access+2007/default.aspx">Access 2007</category><category domain="http://blogs.msdn.com/access/archive/tags/Report/default.aspx">Report</category><category domain="http://blogs.msdn.com/access/archive/tags/Reference/default.aspx">Reference</category><category domain="http://blogs.msdn.com/access/archive/tags/Form/default.aspx">Form</category><category domain="http://blogs.msdn.com/access/archive/tags/Power+Tips/default.aspx">Power Tips</category></item><item><title>Color Support in Access 2007</title><link>http://blogs.msdn.com/access/archive/2007/09/07/color-support-in-access-2007.aspx</link><pubDate>Fri, 07 Sep 2007 21:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4814285</guid><dc:creator>Zac Woodall</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/access/comments/4814285.aspx</comments><wfw:commentRss>http://blogs.msdn.com/access/commentrss.aspx?PostID=4814285</wfw:commentRss><description>&lt;P&gt;&lt;EM&gt;This is the next installment in a series of posts about Access 2007 originally made by one of our developers on the Access team on his own blog that I'm moving here for the broader audience to enjoy.&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;
&lt;DIV class=postcontent&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;
&lt;P&gt;&lt;FONT face=Garamond size=4&gt;"I find color schemes that I just like and that just feel right" - Alan Bean&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;
&lt;DIV style="PADDING-LEFT: 5px; FLOAT: right; TEXT-ALIGN: center"&gt;&lt;IMG alt="Access 2007 Color Picker" src="http://blogs.msdn.com/photos/accessblogimages/images/4749054/original.aspx" mce_src="http://blogs.msdn.com/photos/accessblogimages/images/4749054/original.aspx"&gt; &lt;BR&gt;&lt;STRONG&gt;Figure 1: Access 2007 Color Picker&lt;/STRONG&gt; &lt;/DIV&gt;
&lt;P dir=ltr&gt;&lt;FONT face=Verdana size=2&gt;In Access 2007, we have changed the color picker control from that old 80s looking control to a 21st century color picker. This new color picker is now consistent across all of Access, and is the same one that you will see everywhere in Office 2007. As a small note, this color picker has meaningful tooltips (not color numbers, but say 'Dark Green'), which makes accessible users out there very happy. &lt;/FONT&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;FONT face=Verdana size=2&gt;And yes, this means that you can now (finally!) use more than 16 colors in your datasheets. You can pick any colors you want for gridlines, background and alternate background (new 2007 feature).&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=style1 dir=ltr&gt;Y&lt;FONT size=2&gt;ou can see the new color picker in Figure 1.&lt;/FONT&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;FONT face=Verdana size=2&gt;You probably noticed the 'Access Theme Colors' section.&amp;nbsp; Office 2007 has &lt;A href="http://blogs.msdn.com/photos/accessblogimages/images/4749647/original.aspx" mce_href="http://blogs.msdn.com/photos/accessblogimages/images/4749647/original.aspx"&gt;three themes&lt;/A&gt;: Silver, Blue, and Black. Access developers can develop solutions that look good in all themes by using the new set of Access Theme Colors. Alongside the colors available in Access 2003 (including the system colors, we'll talk about that in a minute), we have made available a group of colors that will change depending on which theme you are.&amp;nbsp;We have 20 colors in the theme set.&lt;/FONT&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;FONT face=Verdana size=2&gt;The first 10 colors are colors that we use everywhere: border, background, alternate row background, selection, font color, etc. This set allows you to theme your forms and reports to match what we actually use in datasheets and everywhere in the product - so you will look as if it's an out-of-the-box Microsoft Access solution.&lt;/FONT&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;FONT face=Verdana size=2&gt;The second set of 10 colors is a gradient from light to dark. This set allows you to theme using variation on the same tone ("ton sur ton" like my mother likes to say). This is very effective in producing stylish, polished and professional looking reports and forms.&lt;/FONT&gt;&lt;/P&gt;&amp;nbsp; 
&lt;P dir=ltr&gt;&lt;FONT face=Verdana size=2&gt;Given Access's supports of Windows System colors, this begs the question as to when developers should just use those vs. these Access theme colors. The answer is that when you'll want to chose whether your app themes with the Windows or the Office theme (e.g. your user has Green for Windows while Office is in blue). In Access 2007 I don't recommend using system colors because then your forms and reports will not be the same color as the ribbon, the task panes, the nav pane, the status bar, and the other Office UI.&amp;nbsp; That said, they still work as well as they did in Access 2003&amp;nbsp;if you reaaaaaally want to use them.&lt;/FONT&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;FONT face=Verdana size=2&gt;An additional benefit that I haven't mentioned yet&amp;nbsp;is that all of these Access Theme colors have accessibility support in them. If any of your customers uses high contrast, these colors will adapt to it and always show correctly. So not only are you able to build solutions that look good in the Office Themes, but ones that look correctly for all your customers that require accessibility support (government contracts anyone?).&lt;/FONT&gt;&lt;/P&gt;
&lt;DIV style="PADDING-RIGHT: 5px; FLOAT: left; TEXT-ALIGN: center"&gt;&lt;IMG alt="System and HTML color support" src="http://blogs.msdn.com/photos/accessblogimages/images/4749071/original.aspx" mce_src="http://blogs.msdn.com/photos/accessblogimages/images/4749071/original.aspx"&gt; &lt;BR&gt;&lt;STRONG&gt;Figure 2: HTML Style RGB and System Colors&lt;/STRONG&gt; &lt;/DIV&gt;
&lt;DIV style="CLEAR: right"&gt;
&lt;P dir=ltr&gt;&lt;FONT face=Verdana size=2&gt;As an added bonus, we are also changing the property sheet to make all of this more helpful. First, the color properties (border color, font color, background color, etc) are now combo boxes instead of text boxes. So when you actually select one of the Access Theme Colors in the color picker, we will show "Background (white)" or something like that instead of a bogus long number. Even further, we also list all the system colors in this combo box - so you will never ever need to use that unintuitive negative number format to get system colors in the property sheet (side note: as not to break your solutions out there, the OM is unchanged).&lt;/FONT&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;FONT face=Verdana size=2&gt;As the last coupe-de-gra -&amp;nbsp;and I think this is awesome even although most people just shrug when they hear this&amp;nbsp;- the colors are now shown as HTML colors. That means that all custom&amp;nbsp;colors in the property sheet will be shown as "#FF0000" instead of 255. To make it extra-nice, we allow you to type in HTML colors &lt;STRONG&gt;and&lt;/STRONG&gt; old Access numeric values (you can use this as an old timer trick to impress new Access 2007 users). No more conversion tables to find the colors you like.&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;FONT face=Verdana size=2&gt;You can see the new system color support and HTML style RGB colors in Figure 2.&lt;/FONT&gt;&lt;/P&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4814285" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/access/archive/tags/Access+2007/default.aspx">Access 2007</category><category domain="http://blogs.msdn.com/access/archive/tags/Report/default.aspx">Report</category><category domain="http://blogs.msdn.com/access/archive/tags/User+Interface/default.aspx">User Interface</category><category domain="http://blogs.msdn.com/access/archive/tags/Form/default.aspx">Form</category><category domain="http://blogs.msdn.com/access/archive/tags/Style/default.aspx">Style</category><category domain="http://blogs.msdn.com/access/archive/tags/Power+Tips/default.aspx">Power Tips</category></item><item><title>Image Buttons</title><link>http://blogs.msdn.com/access/archive/2007/09/04/image-buttons.aspx</link><pubDate>Tue, 04 Sep 2007 23:38:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4748608</guid><dc:creator>Zac Woodall</dc:creator><slash:comments>9</slash:comments><comments>http://blogs.msdn.com/access/comments/4748608.aspx</comments><wfw:commentRss>http://blogs.msdn.com/access/commentrss.aspx?PostID=4748608</wfw:commentRss><description>&lt;P&gt;&lt;EM&gt;This is the first installment in a series of posts about Access 2007 originally made by one of our developers on the Access team on his own blog that I'm moving here for the broader audience to enjoy.&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Up until this point, Access has supported command buttons with text or a picture, but never both at the same time. This has been a long standing request from users: the capability of showing both the caption and the picture. In Access 2007, you will notice a new property off of the command button called "Picture Caption Arrangement".&lt;/P&gt;
&lt;P&gt;This property, which can be set to the following values:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;No Picture Caption&lt;/STRONG&gt; - This setting is the legacy behavior. If you have a caption specified, the button will show it. If you have a picture, only the picture will be shown; &lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;General&lt;/STRONG&gt; - The image will be shown to the left of the text (if you're in a left-to-right language, like English) or the right of the caption (if you're in a right-to-left language, like Hebrew);&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Top/Bottom/Right/Left&lt;/STRONG&gt; - The image will be shown in the specified arrangement: at the top, bottom, right or left of the caption (just pick one).&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;You will also notice that there is a new "Alignment" property. This property allows you to position the caption&amp;nbsp; and picture within the command button to the following settings (note this property can be used whether you have just a picture, just a caption, or both):&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;General&lt;/STRONG&gt; - This is the legacy behavior. The image and caption will be positioned the left of the text (if you're in a left-to-right language, like English) or the right of the caption (if you're in a right-to-left language, like Hebrew); &lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Left/Center/Right&lt;/STRONG&gt; - The image and caption will be positioned to the left, centered or to the right (just pick one);&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Distribute&lt;/STRONG&gt; - This is equivalent to the "justified" setting in Microsoft Word. The image and caption will be spaced out to fill out the command button. &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;With these two new properties (which are of course also available through the OM), you will now be able to create some cool looking command buttons without any label trickery needed. Since you can now use JPEGs, PNGs and other newer image formats with Access 2007, you can create some really impressive buttons.&lt;/P&gt;
&lt;P&gt;For example, in the snapshot below I created three buttons using Windows Vista backgrounds as the pictures. I changed the buttons' back style to transparent and played with the alignment and picture caption alignment settings:&lt;/P&gt;
&lt;P&gt;&lt;IMG alt="Image Buttons in Access 2007" src="http://blogs.msdn.com/photos/accessblogimages/images/4748505/original.aspx" mce_src="http://blogs.msdn.com/photos/accessblogimages/images/4748505/original.aspx"&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4748608" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/access/archive/tags/Access+2007/default.aspx">Access 2007</category><category domain="http://blogs.msdn.com/access/archive/tags/Report/default.aspx">Report</category><category domain="http://blogs.msdn.com/access/archive/tags/User+Interface/default.aspx">User Interface</category><category domain="http://blogs.msdn.com/access/archive/tags/Form/default.aspx">Form</category><category domain="http://blogs.msdn.com/access/archive/tags/Power+Tips/default.aspx">Power Tips</category></item><item><title>PDF &amp;amp; XPS Now supported in Access Runtime!</title><link>http://blogs.msdn.com/access/archive/2007/08/23/pdf-xps-now-supported-in-access-runtime.aspx</link><pubDate>Fri, 24 Aug 2007 01:15:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4532481</guid><dc:creator>Zac Woodall</dc:creator><slash:comments>15</slash:comments><comments>http://blogs.msdn.com/access/comments/4532481.aspx</comments><wfw:commentRss>http://blogs.msdn.com/access/commentrss.aspx?PostID=4532481</wfw:commentRss><description>&lt;P&gt;Great news, you can now redistribute and use the PDF and XPS addin with your Runtime solution.&amp;nbsp; Our download page has been &lt;A class="" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=D9AE78D9-9DC6-4B38-9FA6-2C745A175AED&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyId=D9AE78D9-9DC6-4B38-9FA6-2C745A175AED&amp;amp;displaylang=en"&gt;updated to reflect &lt;/A&gt;this fact.&amp;nbsp; Best of all, &lt;EM&gt;you don't need a new copy of the runtime &lt;/EM&gt;to take advantage of this.&amp;nbsp; The Runtime's code has not been changed.&amp;nbsp; Your existing runtime solutions can now officially be distributed with the PDF and XPS addin by chaining the .msi for PDF and XPS into your install process for your app (after the Runtime).&amp;nbsp; &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4532481" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/access/archive/tags/Access+2007/default.aspx">Access 2007</category><category domain="http://blogs.msdn.com/access/archive/tags/Report/default.aspx">Report</category><category domain="http://blogs.msdn.com/access/archive/tags/Download/default.aspx">Download</category><category domain="http://blogs.msdn.com/access/archive/tags/Runtime/default.aspx">Runtime</category></item></channel></rss>