L'apprentis
Redcifer
- Local time
- Yesterday, 23:59
- Joined
- Jun 22, 2005
- Messages
- 177
I am running a query with a field that can have or a values or no records.
When the field has no record the field is blank. My problem is that I am using a function with that field as a parameter, when that field has no record the function return #Error, It is quite important that I get a "0" instead.
The Nz () function doesn't work (I think it is because it only applies to null field not field with no record) and from what I have been reading so far the Has Data method only applies to report.
The query is to be used in a form, how can I solve this problem?
When the field has no record the field is blank. My problem is that I am using a function with that field as a parameter, when that field has no record the function return #Error, It is quite important that I get a "0" instead.
The Nz () function doesn't work (I think it is because it only applies to null field not field with no record) and from what I have been reading so far the Has Data method only applies to report.
The query is to be used in a form, how can I solve this problem?