PC Review


Reply
Thread Tools Rate Thread

Changing an existing field to VarChar type also changes the fieldwidth

 
 
nostradumbass77@yahoo.com
Guest
Posts: n/a
 
      3rd Mar 2009
I think this is a bug, that hopefully Microsoft can resolve in SP2 !

From an Access 2007 SP1 ADP linked to a SQL 2005 (SP3) database, I
imported tables from an Access 2003 database. The text fields got
imported as NVarChar with the proper widths. However, if I then open
the table design and change the type to VarChar, somehow, the field
width changes to 50. This is surely a bug - why would the field width
change?

Can anyone reproduce this bug and post this on a Microsoft
bugtracker ?
 
Reply With Quote
 
 
 
 
nostradumbass77@yahoo.com
Guest
Posts: n/a
 
      3rd Mar 2009
On Mar 3, 9:27*am, nostradumbas...@yahoo.com wrote:
> I think this is a bug, that hopefully Microsoft can resolve in SP2 !
>
> From an Access 2007 SP1 ADP linked to a SQL 2005 (SP3) database, I
> imported tables from an Access 2003 database. The text fields got
> imported as NVarChar with the proper widths. However, if I then open
> the table design and change the type to VarChar, somehow, the field
> width changes to 50. *This is surely a bug - why would the field width
> change?
>
> Can anyone reproduce this bug and post this on a Microsoft
> bugtracker ?


I notice that the same thing happens in the SQL Management Studio
table designer... ! This is a serious lapse of quality-control !
 
Reply With Quote
 
Tom van Stiphout
Guest
Posts: n/a
 
      7th Mar 2009
On Mon, 2 Mar 2009 23:39:38 -0800 (PST), (E-Mail Removed)
wrote:

It's by design. Whenever you change the datatype, the length (if
applicable) goes back to the default.
You would surely call this bad design, but IMHO it is understandable.

-Tom.
Microsoft Access MVP


>On Mar 3, 9:27*am, nostradumbas...@yahoo.com wrote:
>> I think this is a bug, that hopefully Microsoft can resolve in SP2 !
>>
>> From an Access 2007 SP1 ADP linked to a SQL 2005 (SP3) database, I
>> imported tables from an Access 2003 database. The text fields got
>> imported as NVarChar with the proper widths. However, if I then open
>> the table design and change the type to VarChar, somehow, the field
>> width changes to 50. *This is surely a bug - why would the field width
>> change?
>>
>> Can anyone reproduce this bug and post this on a Microsoft
>> bugtracker ?

>
>I notice that the same thing happens in the SQL Management Studio
>table designer... ! This is a serious lapse of quality-control !

 
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
modify field type of existing field in table Kou Vang Microsoft Access VBA Modules 1 16th Dec 2009 01:01 AM
How to add an attachment type field to an existing form Billiam Microsoft Access Forms 4 25th Aug 2008 04:12 PM
Determining field type CHAR vs VARCHAR Jared Microsoft ADO .NET 3 14th Jul 2006 08:30 PM
Changing Field type in existing tables in VBA? Andy Microsoft Access Form Coding 2 5th Feb 2004 03:11 PM
Change data type of an existing field using a Macro magaly Microsoft Access Macros 1 1st Nov 2003 03:35 AM


Features
 

Advertising
 

Newsgroups
 


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