Never mind. I solved the problem by replacing the bolded line with this:
!Operational = Form_frmNewRisk Rating.sfrmSpon Mgmt.Controls(o ptOperational)
Thank you.
User Profile
Collapse
-
Calling an option group from a subform using ADO
Hello!
Here is the code I'm working with:
...Code:Private Sub opbAddNew_Click() Dim rstRiskRating As ADODB.Recordset Set rstRiskRating = New ADODB.Recordset With rstRiskRating .ActiveConnection = CurrentProject.Connection .CursorType = adOpenKeyset .LockType = adLockOptimistic .Open "Select * from tblRiskRating" .AddNew
No activity results to display
Show More
Leave a comment: