Using a class module for field recordsource

  • Thread starter Thread starter Randy K.
  • Start date Start date
R

Randy K.

I have created several class modules that retrieve data from a variety of
external database tables. These are populated when user selected various
criteria on a main form. I now need to run a report that will be unbound
and then use the data previously retrieved. How do I set the recordsource
of the fields to stop getting #Name?'s???

TIA,
Randy K.
 
Randy said:
I have created several class modules that retrieve data from a variety of
external database tables. These are populated when user selected various
criteria on a main form. I now need to run a report that will be unbound
and then use the data previously retrieved. How do I set the recordsource
of the fields to stop getting #Name?'s???


If you have an unbound report, then the control's control
source property will be blank. You will have to use code to
fill in the values.
 
Back
Top