G
Guest
Table name is "Main"
Fields I am using to do the calc/query on: "Last_Name" and "Company_Room"
Report data source is Table.Main
To get a total count of rooms, I did: DCount(*) in text box and works fine.
Now I want to have a few fields that show how many rooms each company has
and how many of them are occupied. If I count the number of records where
Company_Room = "A", then I should get total number of rooms for Alpha Company.
If I want to see how many rooms are occupied by A then Company_Name = "A"
and Last_Name is not null would give it do me.
Can someone help me? I've tried everyway my limited knowledge will let me
and I can't get it to work.
Thanks!
Fields I am using to do the calc/query on: "Last_Name" and "Company_Room"
Report data source is Table.Main
To get a total count of rooms, I did: DCount(*) in text box and works fine.
Now I want to have a few fields that show how many rooms each company has
and how many of them are occupied. If I count the number of records where
Company_Room = "A", then I should get total number of rooms for Alpha Company.
If I want to see how many rooms are occupied by A then Company_Name = "A"
and Last_Name is not null would give it do me.
Can someone help me? I've tried everyway my limited knowledge will let me
and I can't get it to work.
Thanks!