?
Solved

Run-time error 3270: Property not found in Access 2003 form

Posted on 2011-09-14
4
Medium Priority
?
561 Views
Last Modified: 2012-05-12
Hi all I get this error in my Access 2003 form. When I click the debug button it highlights the code listed below

The table does exist and my Excel version is 2003.
Any ideas?
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "tmpTableA", Me.txtFileName, True, "A:A"

Open in new window

0
Comment
Question by:printmedia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 2000 total points
ID: 36538126
I guess the error is saying it doesn't know what me.txtfilename is.
0
 
LVL 75
ID: 36538137
Is this code being executed from within a Form?  If you do Debug>>Compile ... are there any errors?

mx
0
 

Author Comment

by:printmedia
ID: 36538174
peter57r: me.txtfilename stores the path and file when the end user selects the file

DatabaseMX: I do not get any errors when compiling
0
 

Author Comment

by:printmedia
ID: 36538203
Actually, peter57r I mispelled the field name in the code.

That was it, it should be me.textfilename

Thanks!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question