Thanks Ken, you got me on the right track. I actually used the ReadExpression() method like this though:
thisform.lblMyLabel.ReadExpression('caption')
which did exactally what I wanted.
Thanks again
>Just a thought: if your label is a class you can use it's ResetToDefault() method. ie: thisform.lblMyLabel.ResetToDefault('caption')
>
> >Hi all
>>
>>I have code in the valid event of a input field to do a lookup and change the label caption assoicated with the field to be the contents of the looked up dbf field, this part works fine. My problem is, if the user returns to the input field and blanks it out how do I reset the label caption to the original (stored in the scx) value ?
Donny Sims
Life is what happens to us while were busy making other plans.
- John Lennon