<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Compile error</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : Compile error]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 27 May 2026 23:16:02 +0000</pubDate>
  <lastBuildDate>Thu, 25 Aug 2005 17:36:01 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=2791</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Compile error :  I&amp;#039;m a beginner user of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2791&amp;PID=8348&amp;title=compile-error#8348</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1419">Semisi</a><br /><strong>Subject:</strong> 2791<br /><strong>Posted:</strong> 25 August 2005 at 5:36pm<br /><br /><P align=left><IMG src="http://forum.codejock.com/smileys/smiley19.gif" border="0"></P><P>I'm a beginner user of VB and I've entered these codes which links to Microsoft Access and few excel files but keeps getting a compiler error: Method or data member not found. this highlights the <strong>Bnk = Inpt.Bank</strong></P><P>As I'm only a beginner user I'm not sure what is wrong.</P><P>Below is the code I entered</P><P>DoCmd.TransferSpreadsheet acImport, 5, Tbl, "MB_INPT.XLS", True, "BRF_Data!"</P><P>Set Inpt = Db.OpenRecordset("Input_tmp", dbOpenTable)<BR>Inpt.MoveFirst<BR>Bnk = Inpt.Bank<BR>Bnk = "'" &amp; Inpt.Bank &amp; "'"<BR>Dte = Format(Inpt.Ddate, "dd-mmm-yy")<BR>Inpt.Close</P><P>k = Del_Qry("Qry_del")</P><P>Qry_def = "DELETE DISTINCTROW Data.Bank, Data.Ddate "<BR>Qry_def = Qry_def &amp; "FROM Data "<BR>Qry_def = Qry_def &amp; "WHERE ((Data.Bank= " &amp; Bnk &amp; ") AND (Data.Ddate= #" &amp; Dte &amp; "#)); "<BR>Qry.Name = "Qry_del"<BR>Qry.SQL = Qry_def<BR>Db.QueryDefs.Append Qry<BR>Qry.Execute<BR>Qry.Close</P><P>k = Add_Tab(Tbl, "Data")</P><P>k = Del_Qry("Qry_del")<BR>k = Del_Tab(Tbl)<BR>Kill "MB_INPT.XLS"</P><P>Beep<BR>MsgBox "Database has been successfully updated!", 0, "Money and Banking Update"<BR>'k = MsgBox("Do you wish to exit Access?", 4, "Money and Banking Update")<BR>'If k = 6 Then</P><P>DoCmd.RunMacro "ExitAccess"</P><P>'End If</P><P>End Function</P><P>I would be very grateful of any suggestions</P><P>Semisi</P><P>&nbsp;</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Thu, 25 Aug 2005 17:36:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2791&amp;PID=8348&amp;title=compile-error#8348</guid>
  </item> 
 </channel>
</rss>