T
Tony Williams
I have a report which is based on a query which is based on Table A and on
it a subreport based on a query that is based on Table B. The tables are
linked on a field named VFUNbr. There will always be records for that field
in Table A but not always in Table B. The report shows all Table A records.
In the query for the subreport I am counting the value of a tick box using
this formula
=Sum(Abs([Arrest])) in a field called Total Arrests
On the main report I am showing this field as
=[Active FilesA].Report![Total Arrests]
and a running total with this formula
=IIf(Val([Total Arrests])=0,0,Val([Total Arrests])) with the running sum
property set to overall
Everything works fine if both tables have equivalent VFUNbr fields. However
if there is not a value in Table B for the field VFUNbr the values of Total
Arrests on the main form are shown as #Error Where am I going wrong?
TIA
it a subreport based on a query that is based on Table B. The tables are
linked on a field named VFUNbr. There will always be records for that field
in Table A but not always in Table B. The report shows all Table A records.
In the query for the subreport I am counting the value of a tick box using
this formula
=Sum(Abs([Arrest])) in a field called Total Arrests
On the main report I am showing this field as
=[Active FilesA].Report![Total Arrests]
and a running total with this formula
=IIf(Val([Total Arrests])=0,0,Val([Total Arrests])) with the running sum
property set to overall
Everything works fine if both tables have equivalent VFUNbr fields. However
if there is not a value in Table B for the field VFUNbr the values of Total
Arrests on the main form are shown as #Error Where am I going wrong?
TIA