rename a control

  • Thread starter Thread starter peljo via AccessMonster.com
  • Start date Start date
P

peljo via AccessMonster.com

Can i rename a control on the fly ? For example, if Me!Office = 6 Then Me.
Branch9 = Me!Branch. Both branch9 and branch are fields in the table products
 
Hi Peljo,

The code you posted does not rename the control.

It makes the value for the control called Branch equal to the value of the
control called Branch9, assuming that Branch9 and Branch are both controls
on your form.

It is unusual to have a field for both Branch and Branch9 on a form.
Usually there would be a field for Branch, the value for Branch would be
recorded for each record in the table.
If you can tell us what you are trying to do on your form, we may be able to
suggest an alternative.

Jeanette Cunningham
 

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

Similar Threads


Back
Top