Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / October 2005

Tip: Looking for answers? Try searching our database.

docmd.transferspreadsheet

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Darryl - 20 Oct 2005 20:50 GMT
Greetings,
I am using Access 2000.  I have a spreadsheet in Excel.  One of the columns
is zip codes.
Some of the cells in this column have 5 digit zip codes and some are the
extended ie xxxxx-xxx.

I have the docmd.transferspreadsheet on the on click event of a button on a
form.
When the transferspreadsheet runs, it generates an error table that contains
every extended
formatted zip code as an error. ie Sheet1$_importerrors.  The error listed
is Type conversion failure.

Column is general in spreadsheet.  field in table is text.

Any ideas ?

thanks,
Darryl
MacDermott - 21 Oct 2005 02:22 GMT
If possible, try putting an item with an extended zipcode within the first
10 or so rows of the spreadsheet.

> Greetings,
> I am using Access 2000.  I have a spreadsheet in Excel.  One of the columns
[quoted text clipped - 15 lines]
> thanks,
> Darryl
Darryl - 21 Oct 2005 15:24 GMT
Well, the first row to have one of these zip codes was row 10.  I moved it
to row 1.  Was able to import into the table without error.

It would be nice to handle this programatically so the user doesn't have to
edit
the Excel spreadsheet prior to running my form.

Any ideas on how to handle this programatically ?

thanks,
Darryl
> If possible, try putting an item with an extended zipcode within the first
> 10 or so rows of the spreadsheet.
[quoted text clipped - 21 lines]
> > thanks,
> > Darryl
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.