DogLover2006
Technical User
I am trying to reference a textbox on a form but have trouble with it.
Eample
strName = Year(now())+1
If IsObject(Me.Temp_Federal.Controls(strName)) = True Then
Dim msg As String
msg = MsgBox("This year already exists.", vbOKOnly)
Else
Call UpdateTable
end if
Help please
Eample
strName = Year(now())+1
If IsObject(Me.Temp_Federal.Controls(strName)) = True Then
Dim msg As String
msg = MsgBox("This year already exists.", vbOKOnly)
Else
Call UpdateTable
end if
Help please