Hi, I did not find in Help the way for creating AutoNumber field in code.
I've tried to adapt these lines for that purpose
Set fldClientID = .CreateField("C lientID", dbLong)
.Fields.Append fldClientID
but there's no constant dbAutoNumber in Access.
AK
I've tried to adapt these lines for that purpose
Set fldClientID = .CreateField("C lientID", dbLong)
.Fields.Append fldClientID
but there's no constant dbAutoNumber in Access.
AK
Comment