Jul 17, 2006 #1 Pampers Technical User Apr 7, 2004 1,300 AN Hi everyone, Is it possible to lock rows (for editing) in a continuous form if they meet a specific criterium?? Pampers Just back from holiday... that may it explain it.
Hi everyone, Is it possible to lock rows (for editing) in a continuous form if they meet a specific criterium?? Pampers Just back from holiday... that may it explain it.
Jul 17, 2006 1 #2 MajP Technical User Aug 27, 2005 9,382 US Probably need to give some specifics on this. You can use the on current event. Example Private Sub Form_Current() If Me.strFld1 = "Test" Then Me.AllowEdits = False Else Me.AllowEdits = True End If End Sub In this example once I enter the value "Test" in a field it is pretty much locked. Upvote 0 Downvote
Probably need to give some specifics on this. You can use the on current event. Example Private Sub Form_Current() If Me.strFld1 = "Test" Then Me.AllowEdits = False Else Me.AllowEdits = True End If End Sub In this example once I enter the value "Test" in a field it is pretty much locked.
Jul 17, 2006 Thread starter #3 Pampers Technical User Apr 7, 2004 1,300 AN Hi Majp, That is very good. Just what I was looking for. I didn't know that AllowEdits would work like that. Tnx. Pampers Just back from holiday... that may it explain it. Upvote 0 Downvote
Hi Majp, That is very good. Just what I was looking for. I didn't know that AllowEdits would work like that. Tnx. Pampers Just back from holiday... that may it explain it.