View Full Version : Form caption


rhay
06-05-2001, 01:18 PM
Is there a way in the Form Caption when open it will display the name ( a field in the form)of the current record being viewed?

Thanks,

Robert

Jack Cowley
06-05-2001, 02:25 PM
In the On Current event of the form:

If Me.NewRecord Then
Me.Caption = "New Record"
Else
Me.Caption = Me.FieldWithDataYouWantToDisplay
End if

rhay
06-06-2001, 02:18 AM
Thanks Jack,

It worked great!

Robert