Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linking Main and Subreport via Code

Status
Not open for further replies.

skuhlman

Programmer
Jun 10, 2002
260
US
I need a sample of code for linking MyMainReport.RPT and MySubReport.RPT. Both reports run off of tables containing the Names_ID field which should be the link. I need to be able to do this with code instead of through the crystal interface. Thanks, Stacey
 
Take a look in CRAXDRT at the SubreportLink object. It's a bit fiddly as it's pointing to a IField object but all the stuff you need is there.
It's not part of the free runtime though. Andrew Baines
Chase International
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top