Column And Queries

D

D. Austin

Dear MVP’s

I have a Budget table that has 12 columns containing cumulative budget
amounts for each month. I need to compare the budget with actual each month.
Is there an expression I can create to change what column I pull the data
from?

For example currently I have this

[BUDGET]![MONTH 1] but I want this [BUDGET]![MONTH 2] . I do not want my
user to have to edit the query I just want them to change the month from a
form and run the report.


Thanks for your help.

D
 
D

Duane Hookom

The month should be a data value in a column, not a field name. A properly
normalized table would allow users to enter a month.

We don't know how/where you are storing actual.
 
D

D. Austin

That's what I was afraid you were going to say. I guess I will to some
converting of the table.

Thanks for your help.

Duane Hookom said:
The month should be a data value in a column, not a field name. A properly
normalized table would allow users to enter a month.

We don't know how/where you are storing actual.

--
Duane Hookom
MS Access MVP


D. Austin said:
Dear MVP's

I have a Budget table that has 12 columns containing cumulative budget
amounts for each month. I need to compare the budget with actual each
month.
Is there an expression I can create to change what column I pull the data
from?

For example currently I have this

[BUDGET]![MONTH 1] but I want this [BUDGET]![MONTH 2] . I do not want my
user to have to edit the query I just want them to change the month from a
form and run the report.


Thanks for your help.

D
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top