Change Field Size

  • Thread starter Thread starter Nigel Bennett
  • Start date Start date
N

Nigel Bennett

How would I change a text field size from 2 to 20 using VBA

thanks

Nigel
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top