Quantcast
Channel: Microsoft Dynamics SL
Viewing all articles
Browse latest Browse all 7845

Forum Post: RE: Filtered PV - New Custom Field Not Showing Selected Value

$
0
0
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.

Viewing all articles
Browse latest Browse all 7845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>