bethabernathy
Programmer
Hi There: I have a very strange problem. I am running a query that prompts you for a date range (i.e. - Between [Enter Start Date] And [Enter End Date]). Then I have designed a report that is based on this query. One of the calculations in the report is counting the number of ski accidents that involved Equipment that is Owned by the individual (rather than rented from the ski area).
Anyway, I was very very lucky to get some great help on the calculation of the value for the equipment owned text field on the report which is this:
=DCount("[EquipstatID]","qryincident","[EquipstatID] = 1"
Where [EquipstatID] is a lookup field with "Owned" = 1.
When I run the report without the date range in the query, I get the results of the Equipstat ID to display properly. When I add the date range into the query the value of the field gets an error (ie. #error).
Does this make any sense? Perhaps it is something to do with the syntax in the "=DCount" expression that is doing something.
Thanks again for all the AWESOME help on this forum. I have referred it to lots of great tech people.
Beth
Anyway, I was very very lucky to get some great help on the calculation of the value for the equipment owned text field on the report which is this:
=DCount("[EquipstatID]","qryincident","[EquipstatID] = 1"
Where [EquipstatID] is a lookup field with "Owned" = 1.
When I run the report without the date range in the query, I get the results of the Equipstat ID to display properly. When I add the date range into the query the value of the field gets an error (ie. #error).
Does this make any sense? Perhaps it is something to do with the syntax in the "=DCount" expression that is doing something.
Thanks again for all the AWESOME help on this forum. I have referred it to lots of great tech people.
Beth