?
Solved

Workaround Linking a spreadsheet with a alphanumeric field

Posted on 2011-02-16
14
Medium Priority
?
242 Views
Last Modified: 2012-06-27
Hello,  We really would like to link a spreadsheet but because of Microsoft default rules, I think the only workaround is to import the spreadsheet.  Do you have a solution that is transparent to the user?  FYI...I prefer linking since that spreadsheet has many changes and I don't want to write code every month.
0
Comment
Question by:CFMI
[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
  • 6
  • 5
  • 3
14 Comments
 
LVL 11

Expert Comment

by:RgGray3
ID: 34910751
I am not sure if linking to a spreadsheet is an orphaned feature in 2007...  but I do it in 2003.

Does it need to be linked for edit/update or for viewing only?
0
 
LVL 1

Author Comment

by:CFMI
ID: 34910812
The spreadsheet is xlsx (2007); viewing only but transferring the data and sometimes it reveals #NUM...
0
 
LVL 7

Expert Comment

by:andymacf
ID: 34910942
You can link to a spreadsheet by clicking the External Data, Import, More.  Select ODBC Database, Link to the datasource by creating a linked table.  The click the Machine Data Source tab, and create a new link to your excel spreadsheet.  This works really well, I'm assuming this is what you are trying to do.
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 7

Expert Comment

by:andymacf
ID: 34910951
I meant to add, that this is completely transparent to users
0
 
LVL 11

Expert Comment

by:RgGray3
ID: 34911648
If forget If it is displaying #NUM indicates a non numeric data in an expected numeric field... or...

Make the field bigger... wider...

I am NOT a big Excel user but I believe that is what happens when it can not display the WHOLE value...    rather than give you a partial number it puts in #NUM

0
 
LVL 11

Expert Comment

by:RgGray3
ID: 34911670
err....   I forget not If forget...   Fat & sloppy fingers
0
 
LVL 1

Author Comment

by:CFMI
ID: 34915654
Hello, I tried to follow the instructions and I have accomplished this before linking SQL Server tables but for an Excel spreadsheet, I receive an error message:  You cannot use ODBC to Import from, Export to, or Link an external Microsoft  Office Access or ISAM database table to your database.  Hopefully, I am missing a step?
0
 
LVL 7

Expert Comment

by:andymacf
ID: 34915960
Dear CFMI
Apologies I have misguided you. The correct way to link is as follow:
In the Import area, click Excel, when the new window opens browse for your file then select 'Link to the data source .......'. You will then be asked what sheets you want to link to and follow the prompts. Your linked table will then appear at the bottom of the table view screen and can be used as a source
Andy
0
 
LVL 1

Author Comment

by:CFMI
ID: 34916314
Hello, I can import which allows me to modify the field definitions but when you LINK, a screen appears asking about Headers then a screen appears to Name the file - there isn't a Link option to modify field definitions.  Please HELP...
0
 
LVL 1

Author Comment

by:CFMI
ID: 34916499
Hello, my current workaround is to have the user insert a new column and use this statement:  =TEXT(L2,"00000") to modify Alphanumeric fields to text since Linking believes it is a Numeric field.
However, the user always needs to do this action and I was hoping for a better automated way.
Please HELP...
0
 
LVL 7

Expert Comment

by:andymacf
ID: 34920572
Are you able to post a stripped down version of both of your files so that we can see what you are trying to achieve
0
 
LVL 1

Author Comment

by:CFMI
ID: 34926574
Hello,  I really appreciate your help with the attached spreadsheet.
Beeline-Milestone-Invoice.xls
0
 
LVL 7

Accepted Solution

by:
andymacf earned 2000 total points
ID: 34927982
I think I have managed to get this to work.

What you need to do is highlight your column, 'Cost Center', then right click somewhere on the highlighted area and go to 'Format Cells', then choose 'text'. Click 'OK'.  Now create your link in access and it should work fine.

Cheers
Andy
0
 
LVL 1

Author Closing Comment

by:CFMI
ID: 34950975
Perfect, you are a genius!!!
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
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.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

777 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