Solved

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

Posted on 2011-09-14
4
541 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
  • 2
4 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 500 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

821 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