R
RC-
I need to write a query that will take the count of the records found and
divide that by a number in one of the fields. Here is a copy of the current
query that I have now. I only have three records so far:
SELECT Movies.Title, Movies.Year, Movies.Genre, Movies.Rating,
Movies.Rent_Own, Movies.[Date Rented], Movies.[Rent Amount],
Movies.Rental_Source
FROM Movies
GROUP BY Movies.Title, Movies.Year, Movies.Genre, Movies.Rating,
Movies.Rent_Own, Movies.[Date Rented], Movies.[Rent Amount],
Movies.Rental_Source
HAVING (((Movies.Rent_Own)="rent") AND ((Movies.[Date Rented]) Between
#4/1/2005# And #4/30/2005#) AND ((Movies.Rental_Source)="blockbuster")) OR
(((Movies.Rental_Source)="blockbuster online"));
I need to take the count of the records (3 in this case) and divide that by
Movies.[Rent Amount]
TIA
RC-
divide that by a number in one of the fields. Here is a copy of the current
query that I have now. I only have three records so far:
SELECT Movies.Title, Movies.Year, Movies.Genre, Movies.Rating,
Movies.Rent_Own, Movies.[Date Rented], Movies.[Rent Amount],
Movies.Rental_Source
FROM Movies
GROUP BY Movies.Title, Movies.Year, Movies.Genre, Movies.Rating,
Movies.Rent_Own, Movies.[Date Rented], Movies.[Rent Amount],
Movies.Rental_Source
HAVING (((Movies.Rent_Own)="rent") AND ((Movies.[Date Rented]) Between
#4/1/2005# And #4/30/2005#) AND ((Movies.Rental_Source)="blockbuster")) OR
(((Movies.Rental_Source)="blockbuster online"));
I need to take the count of the records (3 in this case) and divide that by
Movies.[Rent Amount]
TIA
RC-