Nevermind. I went about this a different way. I changed the cPersonId_0_Chk function to check for the values I wanted and if a "forbidden" one was selected, showed a message and cancelled the action. It's not as clean (since the PV does show things it shouldn't) but it gets the job done. For anyone interested in the code: Private Sub cPersonId_0_Chk(ChkStrg As String, retval As Integer) If Left(ChkStrg, 1) <> "A" And Left(ChkStrg, 1) <> "<" Then Call MessBox("You do not have permissions to do this.", 0, "System Message") retval = ErrNoMess End If End Sub Basically I only want this group to work with persons that have an ID that starts with 'A'. The second part of the if ensures they can do inserts as well.
↧