I've got 2 problems. The first is getting my records filtered for my report properly. I have a number of client records, and want to filter them by the field 'lastname' in order to group them together and produce a report for the accounts of whole families, 1 family at a time.
I have a form which has a command button on it that will bring up a second form which displays 1 of the records (accounts)in the families' group of records. (If I hit the remove filter button, hit <ctrl-F> and do a find on the last name field it'll come up with the family name I've searched for.) There is a command button on this second form to go to the next record allowing me to scroll through and view all the records for that specific family.
I have been trying to get my report to filter in the same way, but I don't know how to set the filter up so that it will grab just one family's records as opposed many families. I have so far, set up a command button on the initial form to open up the report, but it still shows every family in the whole database!
The second problem, seems realted to the first. When I open up the report it displays multiples of each individual record, when I only want it to display each record once. How can I get it to stop doing this? I've checked my queries to see if they are causing the problem, and they don't seem to be. I need these records shown only once or my calcuated field totals are way off.
It also doesn't help that someone else built this database with a rather high GIGO factor - things aren't very consistent throughought the database, which I'm trying to fix.
Meaghen Mac Laren
I have a form which has a command button on it that will bring up a second form which displays 1 of the records (accounts)in the families' group of records. (If I hit the remove filter button, hit <ctrl-F> and do a find on the last name field it'll come up with the family name I've searched for.) There is a command button on this second form to go to the next record allowing me to scroll through and view all the records for that specific family.
I have been trying to get my report to filter in the same way, but I don't know how to set the filter up so that it will grab just one family's records as opposed many families. I have so far, set up a command button on the initial form to open up the report, but it still shows every family in the whole database!
The second problem, seems realted to the first. When I open up the report it displays multiples of each individual record, when I only want it to display each record once. How can I get it to stop doing this? I've checked my queries to see if they are causing the problem, and they don't seem to be. I need these records shown only once or my calcuated field totals are way off.
It also doesn't help that someone else built this database with a rather high GIGO factor - things aren't very consistent throughought the database, which I'm trying to fix.
Meaghen Mac Laren