G
Guest
Hi everyone
Can you perhaps explain why I can't set the value of an Option Group (called
FrameProgress) within the 'On Current' event? I've got quite a bit of code
on this event and below is the offending portion. I get a runtime error of
'-2147352567 (80020009)'. The control is enabled and not locked and the form
allows edits and additions. Any idea what the problem is?
ElseIf frameStatus = 5 And frameProgress > 3 And Me.chkOther = True Then
txtProgress.Value = "5"
boxStatus.BackColor = 10092543 'yellow
lblp1.BackColor = 10092543
lblp2.BackColor = 10092543
lblp3.BackColor = 10092543
lblp4.BackColor = 10092543
lblp5.BackColor = 10092543
lblp6.BackColor = 15527148 'grey
lblp7.BackColor = 15527148
lblp8.BackColor = 15527148
frameProgress = 5
lblStatus1.Value = "IN PROGRESS - Stage 5 complete"
lblStatus1.BackColor = 10092543
Me.Form.Refresh
Exit Sub
Many thanks for any help you can give.
Regards,
Lee
Can you perhaps explain why I can't set the value of an Option Group (called
FrameProgress) within the 'On Current' event? I've got quite a bit of code
on this event and below is the offending portion. I get a runtime error of
'-2147352567 (80020009)'. The control is enabled and not locked and the form
allows edits and additions. Any idea what the problem is?
ElseIf frameStatus = 5 And frameProgress > 3 And Me.chkOther = True Then
txtProgress.Value = "5"
boxStatus.BackColor = 10092543 'yellow
lblp1.BackColor = 10092543
lblp2.BackColor = 10092543
lblp3.BackColor = 10092543
lblp4.BackColor = 10092543
lblp5.BackColor = 10092543
lblp6.BackColor = 15527148 'grey
lblp7.BackColor = 15527148
lblp8.BackColor = 15527148
frameProgress = 5
lblStatus1.Value = "IN PROGRESS - Stage 5 complete"
lblStatus1.BackColor = 10092543
Me.Form.Refresh
Exit Sub
Many thanks for any help you can give.
Regards,
Lee