Hello All
I appear to be in run time error hell today...
Error: "Run time error '-2147352567(80020009)' You cant assign a value to this object"
Troublesome bit of code is highlighted in blue. If i hover over log_area it does appear to hold the correct text...
Thanks for any and all help
I appear to be in run time error hell today...
Error: "Run time error '-2147352567(80020009)' You cant assign a value to this object"
Code:
Dim start_date As Date
srcfrm = "FORMNAME"
With Forms(srcfrm).Form
.tab_form_parent.Visible = False
.cmd_start_log.Visible = True
.cmd_cancel_log.Visible = True
.txt_name.BorderColor = 255
.txt_name.BorderWidth = 2
.txt_name.Locked = False
.cbo_shift.BorderColor = 255
.cbo_shift.BorderWidth = 2
.cbo_shift.Locked = False
.cbo_daynight.BorderColor = 255
.cbo_daynight.BorderWidth = 2
.cbo_daynight.Locked = False
.txt_name.SetFocus
.txt_operator_area.Value = theoperator_area
.NavigationButtons = False
[COLOR=Blue] .txt_log_area = log_area[/COLOR]
End With
End Sub
Troublesome bit of code is highlighted in blue. If i hover over log_area it does appear to hold the correct text...
Thanks for any and all help
Last edited: