subreport is null

S

skusey

Hi,

I have a report with a field called "TeamName". Within this report is
a subreport also with a field called "TeamName". Obviously, the
subreport only shows data if the TeamName in the subreport is the same
as the TeamName in the main report.

The problem I have is that the user can enter a record for the main
part of the report but there hasn't necessarily got to be data in the
subreport. However because of the link between the 'Link Child Fields'
and 'Link Master Fields' of the subreport; if there is no data entered
for the subreport, the report opens and says that no data has been
entered. Obviously, there has been data entered because there should
be something entered in the main report.

I probably haven't made a huge amount of sense but what i'm trying to
achieve is if there is nothing that appears in the subreport but
something entered in the main report, the report should still open.

Any idea's???

Cheers in advance.
Ben
 
S

Stefan Hoffmann

hi Ben,
if there is no data entered
for the subreport, the report opens and says that no data has been
entered. Obviously, there has been data entered because there should
be something entered in the main report.
Check the No Data event of your sub report, may be there is an event
handler firing that message.


mfG
--> stefan <--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top