G
Great Macoy
In the group footer of my report, I have placed three
controls,
GroupPhyCount: =sum(phy_count)
GroupRecCount: =Rec_Count
GroupDiscrepancy: =GroupPhyCount-GroupRecCount
*If you will ask me why GroupRecCount is not the sum of
the column, its because the value in every group does not
change, it simply shows the recorded count and definitely
for each same item it will be the same value no matter how
many physical counts are entered. One more thing, the
grouping is a per item grouping because during MANUAL
INVENTORY, there could be more than one PHYSICAL COUNT
ENTRIES for a single item.
NOW, Is there anybody who can share his knowledge how to
access the values of GroupPhyCount and GroupRecCount so
that I can compute their totals in the PAGE FOOTER, and
REPORT FOOTER. Remember that in the REPORT FOOTER, I
can't just simply say "=sum(Rec_Count)" because the value
in the GROUP FOOTER is not actually the sum but simply
REC_COUNT, the value of the last record in the group which
is uniform to all the items in the group and must not be
added-up.
controls,
GroupPhyCount: =sum(phy_count)
GroupRecCount: =Rec_Count
GroupDiscrepancy: =GroupPhyCount-GroupRecCount
*If you will ask me why GroupRecCount is not the sum of
the column, its because the value in every group does not
change, it simply shows the recorded count and definitely
for each same item it will be the same value no matter how
many physical counts are entered. One more thing, the
grouping is a per item grouping because during MANUAL
INVENTORY, there could be more than one PHYSICAL COUNT
ENTRIES for a single item.
NOW, Is there anybody who can share his knowledge how to
access the values of GroupPhyCount and GroupRecCount so
that I can compute their totals in the PAGE FOOTER, and
REPORT FOOTER. Remember that in the REPORT FOOTER, I
can't just simply say "=sum(Rec_Count)" because the value
in the GROUP FOOTER is not actually the sum but simply
REC_COUNT, the value of the last record in the group which
is uniform to all the items in the group and must not be
added-up.