If I group by unit, then I must have two tables of information, where if I just make a query off of the pager history/information, I only need one table.
The pager history shows each unit it has been used at : Unit1, Unit2, Unit3, Unit4.
I have a query setup so that for each unit, it looks to see if its Unit1, Unit2, Unit3, or Unit4 and then pulls the pager information from that. So I know which unit has what pager. The only problem is that when I pull the information, it shows the past units of that pager, which I do not want it to show....I only want it to show the current unit (where the date the pager has left the unit is null and the previous units has a date that is not null).
Any suggestions?? Anyone, please help!!!