 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Access 2010 macros</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/access-2010-macros/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/access-2010-macros/</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 02:38:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: danna</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/access-2010-macros/#comment-87495</link>
		<dc:creator>danna</dc:creator>
		<pubDate>Thu, 03 Feb 2011 16:32:09 +0000</pubDate>
		<guid isPermaLink="false">#comment-87495</guid>
		<description><![CDATA[Chippy088,  Thanks for answering my dilemma. I did put in a close table at the end of the macro once but I still got the same error.
I am a little new to the ACCESS 2010 screens and haven&#039;t quite figured out where (or how) to use their debug report yet.  I will try it though.  
My complete macro is as follows:
&lt;/pre&gt;BUILD TEMPORARY TABLE CALLED FillerMaterialStatusReport 
   OpenQuery
       Query Name   MQry-Filler MaterialReleaseInfo
       View   Datasheet
       Mode   Edit
    CloseQuery
       Query Name: MQry-Filler MaterialReleaseInfo
       Save   No
BUILD RELEASE REPORT
   OpenReport
        Report Name: Release Report
        View: Report
        (no filters or conditions specified)
EMAIL RELEASE REPORT
    If [Reports]![Release Report]![Latest Date Released] Is Not Null  Then
       EMailDatabaseObject
            Type: Report
             Name: Release Report
             Format: RTF
                    To
                     Cc
                   Bcc
             Subject  Filler Material Release Report
             Message:  (blank)
              Edit message  YES
PRINT RELEASE REPORT
    OpenReport
        Report Name: Release Report
               View: Print
         (no filters or conditions specified)
    CloseWindow
         Type: Report
         Name: Release Report
          Save: Prompt
  End If
BUILD REJECT REPORT
   OpenReport
        Report Name   Reject Report
        View   Report
        (no filters or conditions specified)
EMAIL REJECT REPORT
    If [Reports]![Reject Report]![Passed]=&quot;NO&quot; Then
       EMailDatabaseObject
            Type: Report
             Name: Reject Report
             Format: RTF
                    To
                     Cc
                   Bcc
             Subject  Filler Material Reject Report
             Message  Reject materail. Please contact vendor for correctie action.
             Edit message   Yes
PRINT REJECT REPORT
    OpenReport
        Report Name: Reject Report
               View: Print
         (no filters or conditions specified)
    CloseWindow
         Type: Report
         Name: Reject Report
         Save: Prompt
  End If&lt;pre&gt;]]></description>
		<content:encoded><![CDATA[<p>Chippy088,  Thanks for answering my dilemma. I did put in a close table at the end of the macro once but I still got the same error.<br />
I am a little new to the ACCESS 2010 screens and haven&#8217;t quite figured out where (or how) to use their debug report yet.  I will try it though.<br />
My complete macro is as follows:<br />
BUILD TEMPORARY TABLE CALLED FillerMaterialStatusReport<br />
   OpenQuery<br />
       Query Name   MQry-Filler MaterialReleaseInfo<br />
       View   Datasheet<br />
       Mode   Edit<br />
    CloseQuery<br />
       Query Name: MQry-Filler MaterialReleaseInfo<br />
       Save   No<br />
BUILD RELEASE REPORT<br />
   OpenReport<br />
        Report Name: Release Report<br />
        View: Report<br />
        (no filters or conditions specified)<br />
EMAIL RELEASE REPORT<br />
    If [Reports]![Release Report]![Latest Date Released] Is Not Null  Then<br />
       EMailDatabaseObject<br />
            Type: Report<br />
             Name: Release Report<br />
             Format: RTF<br />
                    To<br />
                     Cc<br />
                   Bcc<br />
             Subject  Filler Material Release Report<br />
             Message:  (blank)<br />
              Edit message  YES<br />
PRINT RELEASE REPORT<br />
    OpenReport<br />
        Report Name: Release Report<br />
               View: Print<br />
         (no filters or conditions specified)<br />
    CloseWindow<br />
         Type: Report<br />
         Name: Release Report<br />
          Save: Prompt<br />
  End If<br />
BUILD REJECT REPORT<br />
   OpenReport<br />
        Report Name   Reject Report<br />
        View   Report<br />
        (no filters or conditions specified)<br />
EMAIL REJECT REPORT<br />
    If [Reports]![Reject Report]![Passed]="NO" Then<br />
       EMailDatabaseObject<br />
            Type: Report<br />
             Name: Reject Report<br />
             Format: RTF<br />
                    To<br />
                     Cc<br />
                   Bcc<br />
             Subject  Filler Material Reject Report<br />
             Message  Reject materail. Please contact vendor for correctie action.<br />
             Edit message   Yes<br />
PRINT REJECT REPORT<br />
    OpenReport<br />
        Report Name: Reject Report<br />
               View: Print<br />
         (no filters or conditions specified)<br />
    CloseWindow<br />
         Type: Report<br />
         Name: Reject Report<br />
         Save: Prompt<br />
  End If
<pre></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: chippy088</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/access-2010-macros/#comment-87492</link>
		<dc:creator>chippy088</dc:creator>
		<pubDate>Thu, 03 Feb 2011 15:38:37 +0000</pubDate>
		<guid isPermaLink="false">#comment-87492</guid>
		<description><![CDATA[We need to see the whole of the macro code to make any suggestions.

Without looking at the code, I&#039;d suggest closing the table and report in the macro. It seems it is terminating abnormally with the tables and report still left open, that&#039;s why you have to manually close it down.

Do you get a debug report from the macro? That might give more suggestions of what is wrong.]]></description>
		<content:encoded><![CDATA[<p>We need to see the whole of the macro code to make any suggestions.</p>
<p>Without looking at the code, I&#8217;d suggest closing the table and report in the macro. It seems it is terminating abnormally with the tables and report still left open, that&#8217;s why you have to manually close it down.</p>
<p>Do you get a debug report from the macro? That might give more suggestions of what is wrong.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/8 queries in 0.011 seconds using memcached
Object Caching 283/284 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 03:43:24 -->