Quantcast
Viewing all articles
Browse latest Browse all 23857

Formatting output so that data repeated between rows is not shown

Hi Everyone,

Here is a snippet of some sample data from a report that I have just written -

Image may be NSFW.
Clik here to view.

Notice above that the 'Item Code', 'Item Description', and 'Order Qty' all repeat for rows 2 and 3.

I would like to remove the repeated data (and ideally replace it with 'empty' cells), similar to the snippet below -

Image may be NSFW.
Clik here to view.

I am connecting to an MS SQL Server 2008 R2 database, and therefore I have come to believe I cannot use the IIF(...) function, as detailed in this link.

How can I go about formatting the data as indicated above?

Any help will be greatly appreciated.

Kind Regards,

David


Viewing all articles
Browse latest Browse all 23857

Trending Articles