Referencing field in subreport

G

Guest

On my report, I have a InvoiceTotal field. There is a subreport containing a
field called DepositTotal. I have created a field on the main report called
InvoiceBalance where InvoiceBalance = InvoiceTotal -DepositTotal (on the
subreport). Question is: how do I reference the DepositTotal field in the
subreport? Is this the right way of doing it? Thanks.
ck
 
S

StCyrM

Good morning

The general expression for referencing controls in a Report/Subreport would be
as follows:

Reports!MainReport!SubReport.Report!MyControlOnSubReport

Simply substitute your appropriate values


Best Regards

Maurice St-Cyr
Micro Systems Consultants, Inc.
 
G

Guest

Thanks, Maurice.
ck

StCyrM said:
Good morning

The general expression for referencing controls in a Report/Subreport would be
as follows:

Reports!MainReport!SubReport.Report!MyControlOnSubReport

Simply substitute your appropriate values


Best Regards

Maurice St-Cyr
Micro Systems Consultants, Inc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top