K
kagard
Greetings:
I have a complex report that I want to use with a completely different
data source. How can I delete the control source from every text box
on the report without selecting each of the 100+ fields and changing
them manually?
I tried, unsuccessfully, to loop through all the controls on the
report with a for each loop looking for text boxes and then setting
their control source to "", but VBA didn't want to let me access the
control source property when the report wasn't open.
TIA
Keith
I have a complex report that I want to use with a completely different
data source. How can I delete the control source from every text box
on the report without selecting each of the 100+ fields and changing
them manually?
I tried, unsuccessfully, to loop through all the controls on the
report with a for each loop looking for text boxes and then setting
their control source to "", but VBA didn't want to let me access the
control source property when the report wasn't open.
TIA
Keith