danomaniac
Programmer
Ok, here’s one.
In an access 2000 database, I have a report that is based on a query. Within the report, I transfer the value of one of the query fields to a variable via VBA. This works fine so long as the query returns at least one record. If no records match the criteria, then when I reference the field in VBA, I get a run-time error 2427: “You entered an expression that has no value.”
any ideas?
Thanks
In an access 2000 database, I have a report that is based on a query. Within the report, I transfer the value of one of the query fields to a variable via VBA. This works fine so long as the query returns at least one record. If no records match the criteria, then when I reference the field in VBA, I get a run-time error 2427: “You entered an expression that has no value.”
any ideas?
Thanks