Link to home
Start Free TrialLog in
Avatar of printmedia
printmedia

asked on

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

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

ASKER CERTIFIED SOLUTION
Avatar of peter57r
peter57r
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Is this code being executed from within a Form?  If you do Debug>>Compile ... are there any errors?

mx
Avatar of printmedia
printmedia

ASKER

peter57r: me.txtfilename stores the path and file when the end user selects the file

DatabaseMX: I do not get any errors when compiling
Actually, peter57r I mispelled the field name in the code.

That was it, it should be me.textfilename

Thanks!