M
MArkus
I have 2 tables TblCode and Tbl Spent Each table has a
column for each hour of the day. I want to run a query
that would total the time spent depending on the value of
the corresponding hour in TblCode.
Example:
TblCode
Rec# 0600 0700 0800 0900
1 E R E D
TBlSpent
Rec# 0600 0700 0800 0900
1 40 60 30 20
I want to run a query that looks for the value E in Tbl
Code and corresponds with the value in Tbl Spent for the
same hour. The result I would want from this example is
Rec# Spent
1 70
The record numbers are bound through a relationship from
another table TblTrac which contains
Rec# Name ID Status
Any help would be greatly appreciated.
column for each hour of the day. I want to run a query
that would total the time spent depending on the value of
the corresponding hour in TblCode.
Example:
TblCode
Rec# 0600 0700 0800 0900
1 E R E D
TBlSpent
Rec# 0600 0700 0800 0900
1 40 60 30 20
I want to run a query that looks for the value E in Tbl
Code and corresponds with the value in Tbl Spent for the
same hour. The result I would want from this example is
Rec# Spent
1 70
The record numbers are bound through a relationship from
another table TblTrac which contains
Rec# Name ID Status
Any help would be greatly appreciated.