Timtropolis
Registered User.
- Local time
- Today, 16:48
- Joined
- Jun 17, 2004
- Messages
- 84
Greetings,
I am running a report that has a subreport embedded. What I am trying to do is the following. If the subreport has data, then I show the datarow associated with the main report data. If not, I want to show a text box that says "no data for this record". My problem is that I'm having a hard time trying to figure out how to accomplish this.
The subreport always has some data in it so I can't use the No Data event. I've tried doing a match on various fields with no success (I don't want to get into doing a recordset behind the scenes) and I've also attempted to use the "visible" property since when I have no data associated, the subrept does not show. I met with partial success with this last item but due to the way the print event works, I always wound up with one scenario over the other.
Anyone have any ideas ?
TIA,
Tim
I am running a report that has a subreport embedded. What I am trying to do is the following. If the subreport has data, then I show the datarow associated with the main report data. If not, I want to show a text box that says "no data for this record". My problem is that I'm having a hard time trying to figure out how to accomplish this.
The subreport always has some data in it so I can't use the No Data event. I've tried doing a match on various fields with no success (I don't want to get into doing a recordset behind the scenes) and I've also attempted to use the "visible" property since when I have no data associated, the subrept does not show. I met with partial success with this last item but due to the way the print event works, I always wound up with one scenario over the other.
Anyone have any ideas ?
TIA,
Tim