Accessing Sub-Report Properties

S

SlydeRule

Hello, I know how to access properties of sub-forms from other objects (see
the code below), but I can't figure out how to do the same thing with a
sub-report.

Forms(FormName).Controls(SubFormName).Form.Detail.BackColor = 0

I'd also like to know how to pass a value from the parent report to the
sub-report (I want to use two instances of the same sub-report, but they will
display different results depending on the value passed to them).

Thanks, Dave
 
Top