Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sub Report (not showing dta in table correctly)

Status
Not open for further replies.

tc3596

Technical User
Mar 16, 2001
283
0
0
This is an odd one. I have an unbound sub report in my main report (section = Report Footer). My sub report has as it's sourceobject a table, which is created during the report header section. After the report runs and shows to screen, the table shows exactly what I want to see in the subreport, however the subreport looks like this.

item page
123 1
123 1
124 10
125 25

Having the top item showing twice. The table does have this in it. Any thoughts would be appreciated.

Tim
 
I suppose that you have 2 textboxes in your subreport : one for "item" and one for "page".
If this is the case set the property HideDuplicates of the textbox for "item" to Yes. (The default is No)This can also be done in VBA in the On Format event : Me.item.HideDuplicates
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top