Hello,
Let me begin by saying that I am pretty new to access 2007, but I do know a few things...so feel free to dumb things down
Currently, I am building a database, and i've run into a problem trying to transfer data from my cascading combo boxes to a table.
Currently, my code to transfer the data is as followed:
But my problem is: since the code is repeated 50 times, I see 50 entries in my table even if I only fill out 2 boxes. There are 2 rows with completed data, and 48 rows with just the username.
How do I get it so the name will only be added to the table if there is other data in the cboCounty or cboMun ?
Thank you for your time.
Let me begin by saying that I am pretty new to access 2007, but I do know a few things...so feel free to dumb things down
Currently, I am building a database, and i've run into a problem trying to transfer data from my cascading combo boxes to a table.
Currently, my code to transfer the data is as followed:
rsttblResp.AddNew
rsttblResp!County = Me.cboCounty1.Column(1)
rsttblResp!Code = Me.cboMun1
rsttblResp!Enteredby = [TempVars]![CurrentUserID]
rsttblResp.Update
But my problem is: since the code is repeated 50 times, I see 50 entries in my table even if I only fill out 2 boxes. There are 2 rows with completed data, and 48 rows with just the username.
How do I get it so the name will only be added to the table if there is other data in the cboCounty or cboMun ?
Thank you for your time.