JustinTD
09-04-2004, 11:16 AM
Here's what I have going on.... I am a member of a fire department in Connecticut, USA. I was asked to computerize all of the call forms (forms filled out everytime the dept has a call), as well as event logs (for training, parades, etc...) and membership records. This was the easy part. I designed the tables and forms for all of the above. I was then asked to do something I don't know if it can be done. The way the call form is laid out, you have your basic information such as type of call, times, location etc..., and at the bottom is a series of Yes/No columns for each member of the department. When you run the form you simply place a check in the checkbox if that member was at the call. The first thing they would like to do is have a query which will cross check the member records with their total response. In a simplified sense, it would work like this ...
Open query and enter members last name, it corolates the people with that last name by sorting the first name using the 'member records' table. It then goes out to the 'call sheet' table and checks each name against the true/false value of their response to each call. So if I searched for myself, it would go and find me, then goto the 'call sheet' table and check the column which starts with my last name (last name='Dube', column name='Dube, J') in all the rows for a true value. Each time it finds it, it would add '1' to my total calls. So if there was 54 calls at the time of the query, and I went to 40 of them, it would give a query response reflecting that. Is this possible?
Thanks in advance.
Open query and enter members last name, it corolates the people with that last name by sorting the first name using the 'member records' table. It then goes out to the 'call sheet' table and checks each name against the true/false value of their response to each call. So if I searched for myself, it would go and find me, then goto the 'call sheet' table and check the column which starts with my last name (last name='Dube', column name='Dube, J') in all the rows for a true value. Each time it finds it, it would add '1' to my total calls. So if there was 54 calls at the time of the query, and I went to 40 of them, it would give a query response reflecting that. Is this possible?
Thanks in advance.