G
Guest
I have been working on a database that calculates the cost/usage of the
peridocials by dviding the cost by the usage. If the value of the usage is
0, then the cost per usage is displayed as #Error. How can I have this
#Error replaced by a zero.
See below the SQL Statements I have used to calculate this value:
SELECT Listings.Title, Listings.Cost, Listings.Use, [cost]/[use] AS [Cost
per Use], Listings.Code, Listings.Supplier
FROM Listings
ORDER BY Listings.Title;
Any help with this matter will be appreciated.
Sincerely,
Tiffany Miller
peridocials by dviding the cost by the usage. If the value of the usage is
0, then the cost per usage is displayed as #Error. How can I have this
#Error replaced by a zero.
See below the SQL Statements I have used to calculate this value:
SELECT Listings.Title, Listings.Cost, Listings.Use, [cost]/[use] AS [Cost
per Use], Listings.Code, Listings.Supplier
FROM Listings
ORDER BY Listings.Title;
Any help with this matter will be appreciated.
Sincerely,
Tiffany Miller