change and restore label caption

G

Guest

I' ve to change some label captions and restore some others according with some changes in the form.
I created a table : Key - label name - alternative label caption.
I populated it with label I need to change from their original setting ( the one in form structure ) for each key
When user changes key in a combo box code will change some label descriptions according with table contens and restore the others.
I do it by code ..... " frm!labelname.caption = <alternative name> ....

HOW CAN I RESTORE ORIGINAL LABEL ???

1. I cannot close and re-open for
2. I won't put the original label into an array on form open

I'm looking for a label property that always contains the original label caption ..

Thanks

Silvi
 
J

Jeff Boyce

Silvia

I suppose one possibility would be to "stuff" the original label caption in
the Tag property of the label, then read it back. I'm not sure if you could
use the .OldValue property, as I believe that pertains to a text control.
 

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

Top