I have a code question. I have a checklist form that user initial steps as they complete them. Once a step is complete it gets lock so someone else can't go in and make changes. Because rework is sometimes needed I added a command button that unlocks certain steps. So I have this code on a command button
If Not IsNull (me.step5) Then
Me.[step5] = "1" & "- " & Me.[step5]
Else
End If
And this repeats for every step that gets reset.
Now what it does is if someone has initialed step 5 this code would put 1- XX infront of the initials. Which works fine. The question I have is is there A way to ignor it if it's already set to 1- XX ? Right now I get 1- 1- Xx if I run it twice?
Jon
If Not IsNull (me.step5) Then
Me.[step5] = "1" & "- " & Me.[step5]
Else
End If
And this repeats for every step that gets reset.
Now what it does is if someone has initialed step 5 this code would put 1- XX infront of the initials. Which works fine. The question I have is is there A way to ignor it if it's already set to 1- XX ? Right now I get 1- 1- Xx if I run it twice?
Jon