I was working in my form and came up with this error.
"You can't assign a value to this object "
When I open up the form, it points me to the On load code.
Private Sub Form_Load()
txtCompletedBy = Environ("USERNAME")
End Sub
This was working fine. I removed the code to try to trouble shoot it.
If the code is removed, all I get on open is a blank form. I can't see anything. In designed mode, everything is there.
I can go back to my last backup but hopefully I can figure out the issue first. Last back up would need some updating.
Anyone with any ideals that could cause this?
I looked at some old post and it said to check the box type. It is text and the username is text.
"You can't assign a value to this object "
When I open up the form, it points me to the On load code.
Private Sub Form_Load()
txtCompletedBy = Environ("USERNAME")
End Sub
This was working fine. I removed the code to try to trouble shoot it.
If the code is removed, all I get on open is a blank form. I can't see anything. In designed mode, everything is there.
I can go back to my last backup but hopefully I can figure out the issue first. Last back up would need some updating.
Anyone with any ideals that could cause this?
I looked at some old post and it said to check the box type. It is text and the username is text.