I want to create a column, but want to change the properties of it using code to an autonumber format? Any idea on how to do that?? this is what I have so far:
DoCmd.RunSQL ("ALTER TABLE tec_trac ADD COLUMN auto LONG;"
For LONG substitute either COUNTER or AUTOINCREMENT. Note: In your statement above, the name given the column is "auto". You probably knew that (since you keyed it in lower case) but I thought I'd mention it just in case you thought it was a keyword. Rick Sprague
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.