SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


First row output repeating


First row output repeating

Author
Message
5280_Lifestyle
5280_Lifestyle
SSC-Enthusiastic
SSC-Enthusiastic (144 reputation)SSC-Enthusiastic (144 reputation)SSC-Enthusiastic (144 reputation)SSC-Enthusiastic (144 reputation)SSC-Enthusiastic (144 reputation)SSC-Enthusiastic (144 reputation)SSC-Enthusiastic (144 reputation)SSC-Enthusiastic (144 reputation)

Group: General Forum Members
Points: 144 Visits: 325
I'm having difficult with output in a report. This report was originally created with two subreports and it works fine that way. The end user does not want the main report to have subreports. I copied the queries from the subreports and created separate datasets for each subreport to use in the main report. The output of the report that I am working on is such that the correct number of rows is displayed, but the output from the first record is repeated on all rows.

Bad output:


A End is: BELG-B
Circuit Reference Status Live Date Signatory
BELG-B012 TNZE-B020 Live 4-Dec-2012 Van Wilder
BELG-B012 TNZE-B020 Live 4-Dec-2012 Van Wilder
BELG-B012 TNZE-B020 Live 4-Dec-2012 Van Wilder

B End is: BELG-B
Circuit Reference Status Live Date Signatory
TNZE-B016 BELG-B007 Live 4-Dec-2012 David Hasselhoff
TNZE-B016 BELG-B007 Live 4-Dec-2012 David Hasselhoff
TNZE-B016 BELG-B007 Live 4-Dec-2012 David Hasselhoff
TNZE-B016 BELG-B007 Live 4-Dec-2012 David Hasselhoff
TNZE-B016 BELG-B007 Live 4-Dec-2012 David Hasselhoff
TNZE-B016 BELG-B007 Live 4-Dec-2012 David Hasselhoff



Good output:


A End is: BELG-B
Circuit Reference Status Live Date Signatory
BELG-B012 TNZE-B020 Live 4-Dec-2012 Van Wilder
BELG-B013 TNZE-B021 Live 4-Dec-2012 Van Wilder
BELG-B014 TNZE-B022 Live 4-Dec-2012 Van Wilder

B End is: BELG-B
Circuit Reference Status Live Date Signatory
TNZE-B016 BELG-B007 Live 4-Dec-2012 David Hasselhoff
TNZE-B017 BELG-B008 Live 4-Dec-2012 David Hasselhoff
TNZE-B018 BELG-B009 Live 4-Dec-2012 David Hasselhoff
GOLD-A015 BELG-B031 Live 28-Jan-2005 Kibbles Andbits
GOLD-A016 BELG-B032 Live 11-Feb-2004 Alexandra Teepee
GOLD-A017 BELG-B033 Live 11-Feb-2004 Alexandra Teepee



"Nicholas"
5280_Lifestyle
5280_Lifestyle
SSC-Enthusiastic
SSC-Enthusiastic (144 reputation)SSC-Enthusiastic (144 reputation)SSC-Enthusiastic (144 reputation)SSC-Enthusiastic (144 reputation)SSC-Enthusiastic (144 reputation)SSC-Enthusiastic (144 reputation)SSC-Enthusiastic (144 reputation)SSC-Enthusiastic (144 reputation)

Group: General Forum Members
Points: 144 Visits: 325
I managed to get it working. I can't say what I did because I'm not sure. It was a pain to fix, but it worked out in the end.

"Nicholas"
raj87
raj87
SSC Rookie
SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)

Group: General Forum Members
Points: 29 Visits: 64
I know why its happen because if we put fields in row group in table then its show exactly you had problem , So remove group in report design and enter field in normal row .
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search