Announcements
Hi All,
I just created a report depicted as follows, now the numbers in the first row shoe the dates of the month and year shown in the file.
The requirement is that the date which falls on a weekend ,that column has to be colored differently. How can this be achieved:
Indira
Then you must first build a date based on day,month and year. For that you can use the dmy2date method as described here:
Thank you for the response.
the first query in this is since the report has the numbers as static how do i form the date in the column and then check for weekday.
The column headers are static ,
if there is no way of doing it in mcros
regards,
Indira
Hi, adding to two experts' reply, please note that formulas for different colors are only valid in RDLC, not in Word.
Thanks.
ZHU
Based on Inge's suggestion you can get the day of the week. Then you can use one of these suggestions for conditional formation
social.msdn.microsoft.com/.../change-the-background-color-for-tablix-based-on-date
You can use this function to find the day of the week and add conditional formatting according to that:
André Arnaud de Cal...
293,647
Super User 2025 Season 1
Martin Dráb
232,663
Most Valuable Professional
nmaenpaa
101,158
Moderator