I don't believe the formula is wrong. When checking, it returns the correct value. It also works when opening the subreport Print Preview. I don't think this would be the case if the formula were wrong. I also don't quite understand what you mean about using a shared variable from subreport to main report. I don't think I can set my parameters using variables. Can you please elaborate?
Thanks,
Trace