Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ALTER TABLE ADD Column - datatypes

Status
Not open for further replies.

Edski

Programmer
Aug 6, 2003
430
TH
Does anyone know how to add a new field of type Integer to a table in Access using the ALTER TABLE syntax?
Code:
Db.Execute "ALTER TABLE MyTable ADD COLUMN myField Integer"
works but adds a field of type Long Integer.

 
Doh! ...Thanks.
Nice hyperlink by the way.
 

Yeah! And do study also the Fundamental & Advanced links mentioned at the bottom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top