Hi Don
Thanks. The sublinks code did the trick. I was able to extract the sql for each subreport. Just as a note, removing the "break;" at the bottom there, between btnSqlstatement.AppendText and catch (Exception ex) gives all the subreport sql statements, as opposed to just one.
Ipeleng