programatically change control name at design time

E

eddiec

is there any way to programatically change the name of a control on an
access report?

TIA

eddiec :)
 
D

Duane Hookom

This is one of those questions that has us scratching our collective heads
and asking "why"?
I believe this would only be possible in design view of the report.
 
B

Bas Cost Budde

eddiec said:
is there any way to programatically change the name of a control on an
access report?

Ur, yes, if you have a pointer to it, or its name.

The subject says the report is open in design view; I assume you know
its name :).
If you have the control name:

reports!yourreport!yourcontrol.name = newname

If you have the pointer:

thecontrol.name = newname
 
Top