?
Solved

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

Posted on 2011-09-14
4
Medium Priority
?
551 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

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

743 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