hey guys,
im just learing how to program...im working through bob tabors tutorials for visual basic 2005 express edition. im on lesson 8 which starts to deal with SQL databases.
the problem comes when ive added a new database and when i add a new table and start uptting in information, i cant set a "primary key". the button for doing this is greyed out, as are all the other buttons in the "table designer" toolbar. does anyone have any ideas why all the buttons are greyed out
thanks for any help!

SQL database
slawekr
ShadowChaser
what you suggested partially helped. right clicking did allow me to set the primary key. but when the right-click menu was open the buttons in the top left of the screen in the "table designer" toolbar became coloured, but when the right click menu was closed the buttons became grey again.
i dont understand this at all. any help would be great!
Hong bo Dai
is you datatype integer of the column that shall be your primary key
JonPom
jumpingjahelziphat
Roland Hasenöhrl
ive tried all data types. but the problem isnt just the primary key button, NONE of the buttons in the table designer toolbar are clickable. so idont know whats wrong with it.