G
Guest
I have a report that pulls data from one query. There is a field called
"YrMnth" which actually contains the date in short date format. All of the
dates we pull into the table that the query pulls from will be the same year.
I want my report to pull in this year for the header page...but I don't want
any particluar 'date' to come up, only the year.
I have tried pulling in the field into the report header and tried to change
the control source to =DatePart("yyyy", [YrMnth]).
THis however does not seem to work because the data from the report comes
from a query and not a table. All I get is an error (#Error) when the report
is displayed.
Anyone have any suggestions of how to truncate the date into only pulling up
the year???
Thanks,
Clay
"YrMnth" which actually contains the date in short date format. All of the
dates we pull into the table that the query pulls from will be the same year.
I want my report to pull in this year for the header page...but I don't want
any particluar 'date' to come up, only the year.
I have tried pulling in the field into the report header and tried to change
the control source to =DatePart("yyyy", [YrMnth]).
THis however does not seem to work because the data from the report comes
from a query and not a table. All I get is an error (#Error) when the report
is displayed.
Anyone have any suggestions of how to truncate the date into only pulling up
the year???
Thanks,
Clay