Moises
hm the question allows multiple answers
1. Answer (You try to alter the visual part of the label)
?vartype(thisform.label),vartype(myLB)
You can not add value (numeric) 8 to the object
you need to enter the
CAPTION propertylike
thisform.label.CAPTION = myLB
but caption only likes characters so you need to transform the numeric var
thisform.label.CAPTION = TRANSFORM(myLB)
2. Answer
You like to add a
property to the object
thisform.label.ADDPROPERY('myLB',myLB)
3. Answer
You like to alter obujects name
thisform.label.name = thisform.label.name+TRANSFORM(myLB)
?thisform.label.caption
HTH
Agnes
>How do I add a variable to a label of the form
>
>I have:
>
>thisform.label1
>
>I would like to assign a variable instead of the number
>
>Example:
>
>store 8 to myLB
>
>thisform.label+myLB
>
>Looks like it does not accept &
>
>Any help will be welcome
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]