change and restore label caption

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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.
 
Back
Top