Hello. I'm new here, and very novice with Access, so try to bear with me. =)
I'm working on an Access project, with a database on a little MSDE server.
I'm trying to make a form that has a list box, from which the user is supposed to select a record and then delete it by clicking on a button. Ok now, I have the box, the records in it and a button that is supposed to delete the record chosen and then requery the box. If I choose only the first record in the list and delete that everything works fine, but if I choose some other, I get a notification that tells me that primary key constraint can't allow duplicate names. What is with this? The list box isn't exactly "choosing" anything or what?
I'm working on an Access project, with a database on a little MSDE server.
I'm trying to make a form that has a list box, from which the user is supposed to select a record and then delete it by clicking on a button. Ok now, I have the box, the records in it and a button that is supposed to delete the record chosen and then requery the box. If I choose only the first record in the list and delete that everything works fine, but if I choose some other, I get a notification that tells me that primary key constraint can't allow duplicate names. What is with this? The list box isn't exactly "choosing" anything or what?