S
Steve
Dim x As Integer
x = InStr(Me.OpenArgs, Me.[Entity Name])
If Me.NewRecord Then
Me.[Entity Name] = Left(Me.OpenArgs, x)
Me.[Entity Type] = Right(Me.OpenArgs, Len(Me.OpenArgs - x))
End If
This function will lock the strings inputed by another form. Well I
need 2 fields locked with the data, and the only way to do that is by
splitting it. This keeps giving me the error "Invalid use of Null".
Am I doing something wrong?
x = InStr(Me.OpenArgs, Me.[Entity Name])
If Me.NewRecord Then
Me.[Entity Name] = Left(Me.OpenArgs, x)
Me.[Entity Type] = Right(Me.OpenArgs, Len(Me.OpenArgs - x))
End If
This function will lock the strings inputed by another form. Well I
need 2 fields locked with the data, and the only way to do that is by
splitting it. This keeps giving me the error "Invalid use of Null".
Am I doing something wrong?