D
dmilamj
Greetings,
I would like to use a query result as a column name in another query, I
can't seem to get this to work using Subqueries. Is there a good way to
do this?
Example:
Table "Employees":
Name Title
Dave Manager
John Accountant
Ricky Fireman
Table "Rates":
Rate_Schedule Manager Accountant Fireman
A $5 $1 $2
B $8 $3 $6
C $7 $2 $1
Table "Projects":
Project Rate_Schedule
Mesa A
Houston B
Dallas A
Dulles C
I know that I could rearrage my information storage to make this easy
by combining these tables. But, I would like to keep the Rates table as
is so that it matches the contact documents, and this is the way my
company has always thought about this subject, and I hate to change our
culture because of a database limitation.
So, how can I formulate a series of queries that will get me the rate
for John for the Dallas project?
I am using Access 2002, and can code the solution in VB if necessary,
though I'd rather not, just for maintenance sake.
TIA,
Dave
I would like to use a query result as a column name in another query, I
can't seem to get this to work using Subqueries. Is there a good way to
do this?
Example:
Table "Employees":
Name Title
Dave Manager
John Accountant
Ricky Fireman
Table "Rates":
Rate_Schedule Manager Accountant Fireman
A $5 $1 $2
B $8 $3 $6
C $7 $2 $1
Table "Projects":
Project Rate_Schedule
Mesa A
Houston B
Dallas A
Dulles C
I know that I could rearrage my information storage to make this easy
by combining these tables. But, I would like to keep the Rates table as
is so that it matches the contact documents, and this is the way my
company has always thought about this subject, and I hate to change our
culture because of a database limitation.
So, how can I formulate a series of queries that will get me the rate
for John for the Dallas project?
I am using Access 2002, and can code the solution in VB if necessary,
though I'd rather not, just for maintenance sake.
TIA,
Dave