This example assigns the value of the Surname field to the caption of
Button0. If the field is Null, the caption reads: {Unknown}
Private Sub Form_Current()
Me.Button0.Caption = Nz(Me.[Surname], "{Unknown}")
End Sub
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Reply to group, rather than allenbrowne at mvps dot org.
I think I´m doing somthing wrong becouse it did´t work.
This is in Form view, I assigned the value of the field
in the current event of the form but it never displayed
the field on the buttom. I think I forgot to say that
there are several fields ia xant to display in this way
inside the same form. Would you try to help me again.
Please
Mariagloria.