A2003 on WinXP.
I have a report I run. In the PageHeaderSection_Format routine I do this:
Call CheckQuoteFields(Me!txtCommGrp)
But I get this error when that line tries to execute: "2427 You entered an expression that has no value." It is referring to Me!txtCommGrp. Doing "? Me!txtCommGrp" in the debugger gives me the same error.
Me!txtCommGroup is a text box in a group named GroupHdrComm. I opened the query the report is based on and the field CommGrp that is linked to txtCommGrp always has a value. So it's not like I'm getting a null value. I think txtCommGrp might be out of scope.
How do I fix this error?
I have a report I run. In the PageHeaderSection_Format routine I do this:
Call CheckQuoteFields(Me!txtCommGrp)
But I get this error when that line tries to execute: "2427 You entered an expression that has no value." It is referring to Me!txtCommGrp. Doing "? Me!txtCommGrp" in the debugger gives me the same error.
Me!txtCommGroup is a text box in a group named GroupHdrComm. I opened the query the report is based on and the field CommGrp that is linked to txtCommGrp always has a value. So it's not like I'm getting a null value. I think txtCommGrp might be out of scope.
How do I fix this error?