PC Review


Reply
Thread Tools Rate Thread

Change Field Size

 
 
Nigel Bennett
Guest
Posts: n/a
 
      25th Feb 2005
How would I change a text field size from 2 to 20 using VBA

thanks

Nigel
 
Reply With Quote
 
 
 
 
Naresh Nichani MVP
Guest
Posts: n/a
 
      25th Feb 2005
Hi:

Try executing SQL like this in VBA

"Alter Table [Category List] Alter Column [ComponentID] Text(10)"

This changes column ComponentID to Text 10 in table Category List.

Regards,

Naresh Nichani
Microsoft Access MVP

"Nigel Bennett" <(E-Mail Removed)> wrote in message
news:029501c51ad9$04b4a460$(E-Mail Removed)...
> How would I change a text field size from 2 to 20 using VBA
>
> thanks
>
> Nigel



 
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
How do I change a field size? Tony Williams Microsoft Access Forms 2 15th Aug 2007 07:09 PM
You can't change the data type or field size of this field error. =?Utf-8?B?TWVsYW5pZQ==?= Microsoft Access 2 3rd Aug 2007 03:08 PM
change field size =?Utf-8?B?QXJpZWw=?= Microsoft Access VBA Modules 2 11th Dec 2006 03:15 AM
Change a Field Size =?Utf-8?B?SkEgUGVhY2hyb3Nl?= Microsoft Access 2 27th Sep 2005 09:33 PM
cannot change field size =?Utf-8?B?SlJT?= Microsoft Access 2 23rd Nov 2004 05:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:27 PM.