mrtauntaun
MIS
Ok, I have a query that subtracts two times and returns me a value. So in the query I have
TotalTime: [Query1].[Time1]-[Query2].[Time2]
However, there is not always a [Query2].[Time2] value. I have the query set up to show all records from Query1, but only those from Query2 which are equal. If there is no Time2, that is when it generates me the #Error.
All I want is If Time2=Null then Time2=0
What is the syntax for that and where do I put it in?
TotalTime: [Query1].[Time1]-[Query2].[Time2]
However, there is not always a [Query2].[Time2] value. I have the query set up to show all records from Query1, but only those from Query2 which are equal. If there is no Time2, that is when it generates me the #Error.
All I want is If Time2=Null then Time2=0
What is the syntax for that and where do I put it in?