C
cityblm.is
I have a report with three subreports in columns: [FY1][FY2][FY2-FY1]
So, right now, I have two queries: one for FY1, one for FY2. Both
return the same fields; however, the foreign key values are specified
for each, to designate FY1 as 1 and FY2 as 2. Is there a way to
programmatically ask a user which fiscal year they want for column
one, then which fiscal year they want for column two.
Example, have drop downs for the fiscal years on a form. From there, a
user chooses FY1 for column one and FY3 for column two. FY1 looks at
qryFY1, specifying the FK as 1, and FY3 looks at qryFY2, specifying
the FK as 3. This way, I do not have a new query for every fiscal year
in the report, but one query for each COLUMN.
That may be confusing, but I just need a way to do this without a ton
of queries. Thanks.
So, right now, I have two queries: one for FY1, one for FY2. Both
return the same fields; however, the foreign key values are specified
for each, to designate FY1 as 1 and FY2 as 2. Is there a way to
programmatically ask a user which fiscal year they want for column
one, then which fiscal year they want for column two.
Example, have drop downs for the fiscal years on a form. From there, a
user chooses FY1 for column one and FY3 for column two. FY1 looks at
qryFY1, specifying the FK as 1, and FY3 looks at qryFY2, specifying
the FK as 3. This way, I do not have a new query for every fiscal year
in the report, but one query for each COLUMN.
That may be confusing, but I just need a way to do this without a ton
of queries. Thanks.