Hi Zeb,
You can not set the field in your table to auto increment, it will only accept integers type like 1,2,3,4 etc. The way around this is to do the following -
''Open your recordset.... SELECT * FROM etc...
Dim xCount As Integer, strRec As String
xCount = rsRecordset.Recordcount
xCount = xCount + 1
strRec = xCount & "ELE"
Now, when you add a new record to your database, use strRec as the field id.
AndreRet
Industrious Poster
4,706 posts since Jan 2008
Reputation Points: 391
Solved Threads: 481
Skill Endorsements: 20