G
Guest
I need to change by code some labels caption and hide some controls in a subform
This according with an attribute the user chooses in a combo box on the top
I create a table to put alternative labels ( attribute - label name - alternative caption )
When user updates the main combo according to the attribute I change caption of the required labels :
....
do while not rst.eof
frm(rst!labelname).caption=rst!alternative_caption
rst.movenex
loo
....
Each attribute will change only some label, how can I restore the original caption for each label ??
I won't close an open the form
I can put the original labels into an array at form open ..
There are other solution ??
There is a label property containing the original labels, the ones of form structure ?
Thanks
Silvia
This according with an attribute the user chooses in a combo box on the top
I create a table to put alternative labels ( attribute - label name - alternative caption )
When user updates the main combo according to the attribute I change caption of the required labels :
....
do while not rst.eof
frm(rst!labelname).caption=rst!alternative_caption
rst.movenex
loo
....
Each attribute will change only some label, how can I restore the original caption for each label ??
I won't close an open the form
I can put the original labels into an array at form open ..
There are other solution ??
There is a label property containing the original labels, the ones of form structure ?
Thanks
Silvia