Hi,
Please see sub below...when I attempt to write in my code the line...
UpdateProgRights (RstRights, True)
...I get an expected:= error
I can't see what is wrong! Anybody any ideas?
Thanks
Tim
Sub UpdateProgRights(rstRecordset As Recordset, blnNoRightsExist As Boolean)
With rstRecordset
.AddNew
!TerritoryID = Me.cmbTerritory
!ThirdPartiesID = gintThirdPartyChosen
!NoRightsExist = blnNoRightsExist
.Update
End With
rstRecordset.Requery
End Sub
Please see sub below...when I attempt to write in my code the line...
UpdateProgRights (RstRights, True)
...I get an expected:= error
I can't see what is wrong! Anybody any ideas?
Thanks
Tim
Sub UpdateProgRights(rstRecordset As Recordset, blnNoRightsExist As Boolean)
With rstRecordset
.AddNew
!TerritoryID = Me.cmbTerritory
!ThirdPartiesID = gintThirdPartyChosen
!NoRightsExist = blnNoRightsExist
.Update
End With
rstRecordset.Requery
End Sub