Hello All, (using Access2000)
I have a form with multiple unbound checkboxes. What I would like to do is have the user check whoever needs to take a specific training course. My database is normalized, I have no Yes/no fields in my tables, what I have is VB code that inputs an IDnumber into the field that matches the specific job title for the employee that needs to take that course:
This works great, it adds a new record in the join table (called "tblClassGroup" ) with the classID and the GroupID. My problem is that most of the time one class is trained to multiple Groups. I need to be able to click on multiple checkboxes and create multiple records using a single form and vb code (if possible!)
Some info:
tblGroups has GroupID feild GroupName Field
tblClass has ClassID, ClassName, Description, Trainer
Join - tblClassGroup has ClassGroupID, ClassID, GroupID
Thank you
V
I have a form with multiple unbound checkboxes. What I would like to do is have the user check whoever needs to take a specific training course. My database is normalized, I have no Yes/no fields in my tables, what I have is VB code that inputs an IDnumber into the field that matches the specific job title for the employee that needs to take that course:
Code:
Private Sub chkMFGAssoc_Click() If Me.chkMFGAssoc = -1 Then Me.GroupID.Value = "0015" Else Me.GroupID.Value = "" End If End Sub
Some info:
tblGroups has GroupID feild GroupName Field
tblClass has ClassID, ClassName, Description, Trainer
Join - tblClassGroup has ClassGroupID, ClassID, GroupID
Thank you
V
Comment