Affichage des articles dont le libellé est Why is my form adding records on its own. Afficher tous les articles
Affichage des articles dont le libellé est Why is my form adding records on its own. Afficher tous les articles

Why is my form adding records on its own

vendredi 10 avril 2015

Hi. I am perplexed. :banghead:



I start with a table of UserIDs, names and roles (tblUserIDList). I have a simple query off that which lists them in alpha order by UserID. Next I have a simple form with a combo box which uses that query to select the User and binds the UserID field to use. There is a button which triggers a macro which opens the 2nd form using a query which filters using that UserID. There is another point in that form in which that UserID is again used as a filter for other data. The 2nd form is a data input form. All works fine up to that point.



However, when the 2 forms are closed, for some reason the UserID is re-added to the tblUserIDList. I've never had this happen before.



Does anyone have any suggestions? Or does anyone see anything stupid that I've done here? I realize I haven't given a huge amount of detail but I'm hoping someone has experienced this before.



Thanks for any help!!

Why is my form adding records on its own

Labels