I have the following code:
Can anybody see why it is coming up with 1 key violation error when run?
Thanks
Martin
p.s. bradfordscore is a number.
Code:
Dim bradfordscore As Long
bradfordscore = Me.Text141
SQLText = "INSERT INTO tbl_users ([bradfordscore]) SELECT " & bradfordscore & ""
DoCmd.RunSQL SQLText
Can anybody see why it is coming up with 1 key violation error when run?
Thanks
Martin
p.s. bradfordscore is a number.