G
Guest
I have a table that I need to get data out of but I only need certain fields
during certain times of the year. Example:
GL Table has the following fields = FR_PER_1_Act, FR_PER_2_ACT,
FR_PER_3_Act,, etc...
I want to use this table to get data. I will have 4 weeks of data for
period 1 in the GL table. (Period 1- Week 1, Period 1-Week2, Period 1-Week3,
Period 1-Week 4) I want to take those figures and subtract one from the
other. In order to do that I need to Identify the column(Field) that I need
to pull the data from since all of the period information is stored in
columns and not rows.
In other words if the user inputs that he wants Period 1 information how do
I tell the system to only pull FR_PER_1_ACT out of the GL table? Or if the
user wants Period 2 data that the system only pulls FR_PER_2_ACT, etc...
during certain times of the year. Example:
GL Table has the following fields = FR_PER_1_Act, FR_PER_2_ACT,
FR_PER_3_Act,, etc...
I want to use this table to get data. I will have 4 weeks of data for
period 1 in the GL table. (Period 1- Week 1, Period 1-Week2, Period 1-Week3,
Period 1-Week 4) I want to take those figures and subtract one from the
other. In order to do that I need to Identify the column(Field) that I need
to pull the data from since all of the period information is stored in
columns and not rows.
In other words if the user inputs that he wants Period 1 information how do
I tell the system to only pull FR_PER_1_ACT out of the GL table? Or if the
user wants Period 2 data that the system only pulls FR_PER_2_ACT, etc...