Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

runtime error 2115 ??? 1

Status
Not open for further replies.

Shift838

IS-IT--Management
Jan 27, 2003
987
US
I am getting a runtime error when I click on a Option button on my form. I have the below code to change a textbox value, but it is telling me it cannot save the data to the field. Any clues?

Private Sub blncloseincident_AfterUpdate()

If Me.blncloseincident.Value = True Then
txtendtime.SetFocus
txtendtime.Text = Date & " " & Time
End If

End Sub
 
Have you tried this ?
If Me!blncloseincident.Value = True Then
Me!txtendtime.Value = Now
End If

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top