G
Guest
Hello All,
I have a report in which the end user selects a single person or multiple
people from a form and then I store their selection(s) in a temp table
(ttmp_Prn_Isu). I have a report that uses this temp table as its datasource
so that I can sort and group it properly. All the fields are populated via
DSum function because the final report resembles a crosstab report that may
contain rows with no data and yet the rows still need to be seen. My
difficulty is in referencing the personID stored in the temp table
([ttmp_Prn_Isu].[IsuNm]) as criteria in my DSum function. I also have a
field on the report that stores the personID value (fldIsuNm), but I can't
seem to use it properly. The field name in the temp table is 'IsuNm'. Any
help would be greatly appreciated.
Sincerely,
Shaun
DSum Example:
=DSum("ShareTotal","tblXHolding","[ExpYr] = Cstr(Year(Date())) AND [ExpMth]
= 1 AND[AssetNm] = 'Corporate' And [IsuNm] = 'fldIsuNm'")
I have a report in which the end user selects a single person or multiple
people from a form and then I store their selection(s) in a temp table
(ttmp_Prn_Isu). I have a report that uses this temp table as its datasource
so that I can sort and group it properly. All the fields are populated via
DSum function because the final report resembles a crosstab report that may
contain rows with no data and yet the rows still need to be seen. My
difficulty is in referencing the personID stored in the temp table
([ttmp_Prn_Isu].[IsuNm]) as criteria in my DSum function. I also have a
field on the report that stores the personID value (fldIsuNm), but I can't
seem to use it properly. The field name in the temp table is 'IsuNm'. Any
help would be greatly appreciated.
Sincerely,
Shaun
DSum Example:
=DSum("ShareTotal","tblXHolding","[ExpYr] = Cstr(Year(Date())) AND [ExpMth]
= 1 AND[AssetNm] = 'Corporate' And [IsuNm] = 'fldIsuNm'")