I would like to have a user enter a year and quarter via an Xdialog Box and then produce a Report of Residents whos dues are unpaid for that quarter.
The 2 tables are:
Resident_tbl contains...
Res_Id numeric 5 Linked to Res_Chld_Tbl 1 to many
Res_Name character 40
Res_Addr character 40
Resident_chld_tbl contains....
Res_Id_chld numeric 5 Linked to Resident_tbl
Dues_Year numeric 4
Dues_Quarter numeric 1 1,2,3, or 4
Dues_Amt numeric 8 6.2
Example:
There are 2 entries in the Resident_tbl. They are:
1 Joe Blow 16 Langley Toms River NJ 08757
2 Tom Smith 8 22nd St New York NY 56768
Therre are 4 entries in the Resident_Child_tbl for Resident 1. They are:
1 2009 3 36.00
1 2009 1 36.00
1 2008 4 36.00
1 2008 1 36.00
There are 5 entries in the Resident_Child_tbl for Resident 2. They are:
2 2009 1 36.00
2 2008 4 36.00
2 2008 3 36.00
2 2008 2 36.00
2 2008 1 36.00
If the user enters the year 2009 and quarter 2, the Report should look something like this:
Un-Paid Dues for Report for 2009, 2nd Quarter
1 Joe Blow 16 Langley Toms River, NJ 08757 2009 2 36.00
2 Toms Smith 8 22nd Street New York NY 56768 2008 2 36.00
______________
Total Un-Paid Dues 72.00
This seems extremely complicated to me. I posted it in this Forum because the activity here is much greater than the code forum and I'm hoping that one of you experts can help out.
Thanks,
Rudy
The 2 tables are:
Resident_tbl contains...
Res_Id numeric 5 Linked to Res_Chld_Tbl 1 to many
Res_Name character 40
Res_Addr character 40
Resident_chld_tbl contains....
Res_Id_chld numeric 5 Linked to Resident_tbl
Dues_Year numeric 4
Dues_Quarter numeric 1 1,2,3, or 4
Dues_Amt numeric 8 6.2
Example:
There are 2 entries in the Resident_tbl. They are:
1 Joe Blow 16 Langley Toms River NJ 08757
2 Tom Smith 8 22nd St New York NY 56768
Therre are 4 entries in the Resident_Child_tbl for Resident 1. They are:
1 2009 3 36.00
1 2009 1 36.00
1 2008 4 36.00
1 2008 1 36.00
There are 5 entries in the Resident_Child_tbl for Resident 2. They are:
2 2009 1 36.00
2 2008 4 36.00
2 2008 3 36.00
2 2008 2 36.00
2 2008 1 36.00
If the user enters the year 2009 and quarter 2, the Report should look something like this:
Un-Paid Dues for Report for 2009, 2nd Quarter
1 Joe Blow 16 Langley Toms River, NJ 08757 2009 2 36.00
2 Toms Smith 8 22nd Street New York NY 56768 2008 2 36.00
______________
Total Un-Paid Dues 72.00
This seems extremely complicated to me. I posted it in this Forum because the activity here is much greater than the code forum and I'm hoping that one of you experts can help out.
Thanks,
Rudy
Comment