O
OPar
I am trying to create a subroutine that will set some properties on
the specified form. Can someone help me with my forms collection
syntax? I want to be able to pass the form name to the subroutine.
This subroutine will be used multiple times which is why I don't want
to place custome code in each form. Can anyone help? Below is an
example of what I am trying to do.
Sub DisableDelete(strFormName as string)
'Disables record delete on specified form
forms(strFormName).DisableDelete = True
End sub
the specified form. Can someone help me with my forms collection
syntax? I want to be able to pass the form name to the subroutine.
This subroutine will be used multiple times which is why I don't want
to place custome code in each form. Can anyone help? Below is an
example of what I am trying to do.
Sub DisableDelete(strFormName as string)
'Disables record delete on specified form
forms(strFormName).DisableDelete = True
End sub