I have a statement that produces as error when VBA is compiled while in Debug. I thought perhaps I had a corrupted control, so I deleted the control and built a new one from the tools menu, but I still get the error. I don't get any compilation errors when I "Compress & Repair". And, the Conditional Formatting functions normally when the value is tested during normal form display.
Sometimes one can get into problems if the ControlSource name is the same as the control name, but that's not the case here. Any ideas what might be going on here?
The error:
The Control:
The form's RecordSource query:
![]()