F
Frank Situmorang
In the Mainreport query are only 2 fields, i.e : Nurut(Sequence number of the Position) and Bidang Pelayanan ( Posisiton Description), so we can not link main report with the child report.
If what you meant is to type 2009, 2008, 2007, accros the detail of the main report, this is not dynamic anymore?, because I have upt 11 years now in my database.
Thanks for your advice.
Frank
Duane Hookom wrote:
The subreport should not have any text boxes with Control Sources like=Forms!
01-Dec-09
The subreport should not have any text boxes with Control Sources lik
=Forms!frm..
You were suppose to substitute your actual form and control name which woul
be [Forms]![frmTahundipilih]![cboEndYear
Both of your report querys have a criteria that limits them to a singl
year. Try a main report query of my suggestion earlier. There should be n
year or name fields in this query
SELECT PelayanJemaat.Nurut, PelayanJemaat.BidangPelayana
FROM PelayanJemaa
GROUP BY PelayanJemaat.Nurut, PelayanJemaat.BidangPelayana
The subreport query should be
SELECT PelayanJemaat.Nurut, PelayanJemaat.BidangPelayanan, NamaPel
TahunPe
FROM PelayanJemaa
WHERE [TahunPel] Between Forms!frmTahundipilih!cboEndYear- 4 AN
Forms!frmTahundipilih!cboEndYear
You should have the 5 text boxes that would display the 5 years across th
top of the detail section in the main report. Below each of these should be
copy of the subreport. You use the link master/child properties to filte
each subreport to the appropriate fields. These fields will include the tex
boxes displaying the years as part of the Link Master. The link child fiel
that links with the text boxes is the TahunPel which I assume is a fiel
storing the year like 2009, 2008, 2007,..
-
Duane Hooko
Microsoft Access MV
:
Previous Posts In This Thread:
Submitted via EggHeadCafe - Software Developer Portal of Choice
Power of Reflection: Creating an Object Factory
http://www.eggheadcafe.com/tutorial...9c-164856e47425/power-of-reflection-crea.aspx
If what you meant is to type 2009, 2008, 2007, accros the detail of the main report, this is not dynamic anymore?, because I have upt 11 years now in my database.
Thanks for your advice.
Frank
Duane Hookom wrote:
The subreport should not have any text boxes with Control Sources like=Forms!
01-Dec-09
The subreport should not have any text boxes with Control Sources lik
=Forms!frm..
You were suppose to substitute your actual form and control name which woul
be [Forms]![frmTahundipilih]![cboEndYear
Both of your report querys have a criteria that limits them to a singl
year. Try a main report query of my suggestion earlier. There should be n
year or name fields in this query
SELECT PelayanJemaat.Nurut, PelayanJemaat.BidangPelayana
FROM PelayanJemaa
GROUP BY PelayanJemaat.Nurut, PelayanJemaat.BidangPelayana
The subreport query should be
SELECT PelayanJemaat.Nurut, PelayanJemaat.BidangPelayanan, NamaPel
TahunPe
FROM PelayanJemaa
WHERE [TahunPel] Between Forms!frmTahundipilih!cboEndYear- 4 AN
Forms!frmTahundipilih!cboEndYear
You should have the 5 text boxes that would display the 5 years across th
top of the detail section in the main report. Below each of these should be
copy of the subreport. You use the link master/child properties to filte
each subreport to the appropriate fields. These fields will include the tex
boxes displaying the years as part of the Link Master. The link child fiel
that links with the text boxes is the TahunPel which I assume is a fiel
storing the year like 2009, 2008, 2007,..
-
Duane Hooko
Microsoft Access MV
:
Previous Posts In This Thread:
Submitted via EggHeadCafe - Software Developer Portal of Choice
Power of Reflection: Creating an Object Factory
http://www.eggheadcafe.com/tutorial...9c-164856e47425/power-of-reflection-crea.aspx