Determining Subreport Parent Control

L

LarBear

I have a report that uses the same subreport multiple
times on a page with different control names, ie: sub1,
sub2, sub3. The subreport uses Visual Basic to populate
the data in the subreport with a query. I need to find
out if the Visual Basic code is currently running in sub1,
sub2 or sub3 to provide different data. I have tried the
link child and master fields but the data is not available
when the subreport opens.

Thanks for any suggestions.
 
Top