G
Guest
I've created a database with numerous queries and reports, but now I need to
automate the reports. What I want to do is start with a table like the
following
VARIABLE VALUE
DATE1 10/15/2004
DATE2 12/15/2004
PUB1 Ubisoft
etc....
I want to be change theses variables for each new report and then have those
qualifiers carry over to all queries and reports so I don't have to do it
manually.
I thought about doing this with SQL WHERE statements. But I don't know if it
will allow me to use variables from a table. The sample SQL query statement
looks like:
SELECT PageValue.Name, PageValue.Rank
FROM PageValue
WHERE NAME=[PUB1 FROM MY VariableTable WOULD GO HERE]
ORDER BY Rank;
Is there any way to do this in SQL?
Or, better yet, is there anything in access 2003 that would let me do this
easier?
I hope I haven't muddled the question too badly.
automate the reports. What I want to do is start with a table like the
following
VARIABLE VALUE
DATE1 10/15/2004
DATE2 12/15/2004
PUB1 Ubisoft
etc....
I want to be change theses variables for each new report and then have those
qualifiers carry over to all queries and reports so I don't have to do it
manually.
I thought about doing this with SQL WHERE statements. But I don't know if it
will allow me to use variables from a table. The sample SQL query statement
looks like:
SELECT PageValue.Name, PageValue.Rank
FROM PageValue
WHERE NAME=[PUB1 FROM MY VariableTable WOULD GO HERE]
ORDER BY Rank;
Is there any way to do this in SQL?
Or, better yet, is there anything in access 2003 that would let me do this
easier?
I hope I haven't muddled the question too badly.