Border style change conditionally

Zolotoy 226 Reputation points
2021-04-17T07:00:20.59+00:00

I am trying to change textbox's border conditionally like this:
=iif(RowNumber(Nothing) = 1, "Solid", "Default")

But instead of changing just first row it changes all tows. What am I doing wrong?

Thanks

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
3,061 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ZoeHui-MSFT 41,491 Reputation points
    2021-04-19T02:50:25.667+00:00

    Hi @Zolotoy ,

    I tested locally with the expression, it works well in my environment.

    I's suggest that you may set the expression like shown in below image.

    It will set the border style conditionally in certain textbox not all rows.

    88934-screenshot-2021-04-19-104733.jpg

    Regards,

    Zoe


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    Hot issues October


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.