PC Review


Reply
Thread Tools Rate Thread

Changing field definition in Linked Excel Table

 
 
dhstein
Guest
Posts: n/a
 
      22nd Apr 2009
I linked a table to an Excel file for an update query. The file has 2
columns - column 1 is the PK and column 2 is the text field that contains the
data for updating. The default value for the text field is 255 bytes. I'd
like to change that to 20 but I can't figure out how to do that. Linked
Table manager doesn't seem to help. Any suggestions? Thanks.


 
Reply With Quote
 
 
 
 
Ken Snell MVP
Guest
Posts: n/a
 
      22nd Apr 2009
No, you cannot change the field definition for a linked table (spreadsheet
in this case). But I don't see why it's necessary to change the field
definition? I am not aware of any problem that would be caused by Text (255)
as the field if you just want to use 20 characters?

--

Ken Snell
<MS ACCESS MVP>
http://www.accessmvp.com/KDSnell/


"dhstein" <(E-Mail Removed)> wrote in message
news:2C8A630E-BED9-47E1-BAEB-(E-Mail Removed)...
>I linked a table to an Excel file for an update query. The file has 2
> columns - column 1 is the PK and column 2 is the text field that contains
> the
> data for updating. The default value for the text field is 255 bytes.
> I'd
> like to change that to 20 but I can't figure out how to do that. Linked
> Table manager doesn't seem to help. Any suggestions? Thanks.
>
>



 
Reply With Quote
 
dhstein
Guest
Posts: n/a
 
      22nd Apr 2009
Ken,

Thanks for the reply. This question came more from curiosity than
anything else. In addition, there was another situation where the definition
was text and I needed it numeric and I couldn't figure out how to correct
that - that time it was critical since the update query didn't work. I ended
up deleting the link and recreating it. So I was just trying to understand
if I was missing something. So it sounds like those fields can't be changed.

"Ken Snell MVP" wrote:

> No, you cannot change the field definition for a linked table (spreadsheet
> in this case). But I don't see why it's necessary to change the field
> definition? I am not aware of any problem that would be caused by Text (255)
> as the field if you just want to use 20 characters?
>
> --
>
> Ken Snell
> <MS ACCESS MVP>
> http://www.accessmvp.com/KDSnell/
>
>
> "dhstein" <(E-Mail Removed)> wrote in message
> news:2C8A630E-BED9-47E1-BAEB-(E-Mail Removed)...
> >I linked a table to an Excel file for an update query. The file has 2
> > columns - column 1 is the PK and column 2 is the text field that contains
> > the
> > data for updating. The default value for the text field is 255 bytes.
> > I'd
> > like to change that to 20 but I can't figure out how to do that. Linked
> > Table manager doesn't seem to help. Any suggestions? Thanks.
> >
> >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing field value in underlying linked table Roderick O'Regan Microsoft Access Getting Started 3 14th Jan 2008 01:49 PM
Changing the field names of linked table =?Utf-8?B?U2FuY2hleg==?= Microsoft Access 1 26th Oct 2007 02:30 AM
Field Formats in Linked Table from Excel =?Utf-8?B?Z3RjaGU5OA==?= Microsoft Access External Data 1 13th Sep 2007 09:18 AM
Changing field type of a linked Excel table Ammo Microsoft Access External Data 2 3rd Nov 2004 02:18 PM
changing field properties on a linked table reggie Microsoft Excel Worksheet Functions 0 16th Mar 2004 05:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:57 AM.