G
Guest
I need help in renaming fields in a query.
My current query output contains a single field "Start Date" and 180 columns
called "P1" through "P180". Each of the "P" columns contain numeric data for
each of 180 months.
I would like to use the "Start Date" (which is in date format) as a
reference in order to rename each of my monthly columns so that they have the
correct date, such as "2/28/06", "3/31/06", etc., in a date format that I can
later manipulate.
I imagine that I will need to use an "end of month" function (if similar to
Excel) and increment each column label one month more than the previous
column, with the starting month be "1/31/06" (assuming that the Start Date
field has a value of 1/1/06).
The eventual goal is that I would be able to select certain months, like all
12 months of 2007, say, and then present them in quarters, annually, etc.,
using the date summation functions of Access. Therefore, it is important
that the column headings be in date format if possible.
If you have a different approach, I’d like to hear it, too.
Thank you in advance for your help.
My current query output contains a single field "Start Date" and 180 columns
called "P1" through "P180". Each of the "P" columns contain numeric data for
each of 180 months.
I would like to use the "Start Date" (which is in date format) as a
reference in order to rename each of my monthly columns so that they have the
correct date, such as "2/28/06", "3/31/06", etc., in a date format that I can
later manipulate.
I imagine that I will need to use an "end of month" function (if similar to
Excel) and increment each column label one month more than the previous
column, with the starting month be "1/31/06" (assuming that the Start Date
field has a value of 1/1/06).
The eventual goal is that I would be able to select certain months, like all
12 months of 2007, say, and then present them in quarters, annually, etc.,
using the date summation functions of Access. Therefore, it is important
that the column headings be in date format if possible.
If you have a different approach, I’d like to hear it, too.
Thank you in advance for your help.