using objects to populate controls in detail band of reports

  • Thread starter Thread starter Kent Eilers
  • Start date Start date
K

Kent Eilers

I've built a class that populates the detail items in several reports. I
use unbound controls in the detail band and populate them during the
detail_format event.

I wonder if there is a direct way to link the detail controls directly to
this object? I still need a recordset to populate the header information
though so I do not want to lose that.

Thanks.
 
Kent said:
I've built a class that populates the detail items in several reports. I
use unbound controls in the detail band and populate them during the
detail_format event.

I wonder if there is a direct way to link the detail controls directly to
this object? I still need a recordset to populate the header information
though so I do not want to lose that.


Because user defined classes are outside the name space used
by the expression service when evaluating control source
expressions, you have to use UDF wrappers to get to your
class's properties/methods.
 
ah --

ok thanks ))

Marshall Barton said:
Because user defined classes are outside the name space used
by the expression service when evaluating control source
expressions, you have to use UDF wrappers to get to your
class's properties/methods.
 

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

Back
Top