Hi all,
I'm responsible for supporting an Access app that was not developed by me, where the developer is a guy who is no longer with our department. Therefore I have to make a lot of educated guesses as to his logic behind some of the coding. Recently, one of our users constantly gets the error 'out of stack space' whenever she is updating a form. This always occurs at a Private Sub Form_Dirty(Cancel As Integer):
Me.txtUserId = UorCName(1)
Now, the txtUserId already has a default value of = UorCName(1), so to me this Sub is unnecessary and problematic since it is the source of the error. Am I being too simplistic to assume that I can delete this event as long as the default value is set? Or is there some reason to suspect the developer put this event in for a reason that I'm not understanding? I basically am looking for confirmation before I go and delete this event. All opinions are welcomed! Thanks.
I'm responsible for supporting an Access app that was not developed by me, where the developer is a guy who is no longer with our department. Therefore I have to make a lot of educated guesses as to his logic behind some of the coding. Recently, one of our users constantly gets the error 'out of stack space' whenever she is updating a form. This always occurs at a Private Sub Form_Dirty(Cancel As Integer):
Me.txtUserId = UorCName(1)
Now, the txtUserId already has a default value of = UorCName(1), so to me this Sub is unnecessary and problematic since it is the source of the error. Am I being too simplistic to assume that I can delete this event as long as the default value is set? Or is there some reason to suspect the developer put this event in for a reason that I'm not understanding? I basically am looking for confirmation before I go and delete this event. All opinions are welcomed! Thanks.