programatically change control name at design time

  • Thread starter Thread starter eddiec
  • Start date Start date
E

eddiec

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

TIA

eddiec :-)
 
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.
 
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
 

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