Microsoft Access Forums

Go Back   Microsoft Access Forums > Access Forums > Import/Export Data

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 01-29-2010, 08:58 AM
Rick West Rick West is offline Windows XP Access 2007 (version 12.0)
Advanced Beginner
 
Join Date: Jul 2009
Posts: 64
Rick West is on a distinguished road
Default #Num, Linked Excel File

When linking to a file in excel (data downloaded form our mainframe), and all fields formatted "General", all data is visible in Access unless we manually add a new record to the Excel file.

In one of the fields, which is numeric-looking, like 324563, it comes across into Access as #Num and all the other records (from mainframe) look like they are supposed to look.

Tried clearing all Excel formatting and resetting to General format, nada. Clearing all, resetting to text format, nada.

I'm on Excel and Acess 2003.
Reply With Quote
  #2  
Old 02-03-2010, 06:02 PM
MAF4Fam6's Avatar
MAF4Fam6 MAF4Fam6 is offline Windows XP Access 2007 (version 12.0)
Advanced Beginner
 
Join Date: Dec 2009
Location: Fruit Heights, Utah USA
Posts: 140
Blog Entries: 2
MAF4Fam6 is on a distinguished road
Default

Hello Rick,
Have you considered importing the Excel file into a new Table instead? I am not a big fan of linking Excel files to Access.
Can you provide some additional info on your purpose with linking the Excel file versus importing to a new table?
Thanks.

-RC

Last edited by MAF4Fam6; 02-03-2010 at 08:42 PM. Reason: Asked an additional question.
Reply With Quote
  #3  
Old 02-04-2010, 06:06 AM
Rick West Rick West is offline Windows XP Access 2007 (version 12.0)
Advanced Beginner
 
Join Date: Jul 2009
Posts: 64
Rick West is on a distinguished road
Default

I agree, importing is best over linking BUT this spreadsheet is only used by 1 employee who insists on using Excel. I have suggested we import, set up some user-friendly forms/reports/etc but he refuses to use Access.
Reply With Quote
  #4  
Old 02-04-2010, 07:12 AM
MAF4Fam6's Avatar
MAF4Fam6 MAF4Fam6 is offline Windows XP Access 2007 (version 12.0)
Advanced Beginner
 
Join Date: Dec 2009
Location: Fruit Heights, Utah USA
Posts: 140
Blog Entries: 2
MAF4Fam6 is on a distinguished road
Default

What I recommend then, is to import the spreadsheet into a temp Table:
a) Validate data types for ALL fields in your new Table
b) Export your Table to a new Excel file
c) Link the new Excel file to Access

Note: If this is a recurring process from your mainframe to Access, then I would recommend performing batch updating/syncing of spreadsheet data into Access tables from your recurring file.

-RC
Reply With Quote
  #5  
Old 02-04-2010, 07:29 AM
Rick West Rick West is offline Windows XP Access 2007 (version 12.0)
Advanced Beginner
 
Join Date: Jul 2009
Posts: 64
Rick West is on a distinguished road
Default

I'll give that a try.

However, we're still on Excel/Access 2003 and I've seen exports to Excel from Access actually change a number field. This was fixed in the 2007 export but I have to work with what I've got.

I'll close this as solved and try the fix. If it doesn't work it's not fair to leave this open.

Thanks.
Reply With Quote
  #6  
Old 02-04-2010, 07:50 AM
MAF4Fam6's Avatar
MAF4Fam6 MAF4Fam6 is offline Windows XP Access 2007 (version 12.0)
Advanced Beginner
 
Join Date: Dec 2009
Location: Fruit Heights, Utah USA
Posts: 140
Blog Entries: 2
MAF4Fam6 is on a distinguished road
Default

No problem. Good luck.
Thanks.

-RC
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking Excel file problems KevinH Import/Export Data 1 12-20-2009 06:28 AM
can not delete the excel file after importing into database dollygg Access 0 09-18-2009 05:33 AM
Issues with dating when importing excel file Lainie Import/Export Data 0 01-22-2009 07:50 AM
cmd to print/view an MS-Excel file gkast Forms 0 11-23-2008 04:39 PM
how do I place date of linked excel sheet in a form meatgrande Access 0 02-21-2008 06:52 AM


All times are GMT -8. The time now is 02:39 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.