david.paton
Registered User.
- Local time
- Today, 15:35
- Joined
- Jun 26, 2013
- Messages
- 338
I am having some trouble specifying query criteria. I have a table called tblDivisions which has the fields ID and tblDivisionsTown. I have another table called Legatees. Each legatee is from a town and I have another form that contains a sub form to show the legatees from a given town. The sub form has the source of a query that shows the legatee information.
I used to have all the legatee information displayed but I have just decided that I should separate the legatees by town and I just didn't know how to do it.
I tried making a query and if it worked I was going to adjust it slightly for each town and attach it to buttons on the sub form. I included the legatee fields from the legatee table but then included the id field from tblDivisions, changed the total column to where and entered ="2", which is the criteria for the town I was testing but that still didn't work.
Could I have a bit of help please?
Thanks
I used to have all the legatee information displayed but I have just decided that I should separate the legatees by town and I just didn't know how to do it.
I tried making a query and if it worked I was going to adjust it slightly for each town and attach it to buttons on the sub form. I included the legatee fields from the legatee table but then included the id field from tblDivisions, changed the total column to where and entered ="2", which is the criteria for the town I was testing but that still didn't work.
Could I have a bit of help please?
Thanks