is there a way to have the content of a field to be displayed in the Form Caption ??
Form Caption = txtField ?
Collapse
X
-
Yes, you can programatticall y reference the form caption and set it equal to a text field.
You'll need to decide on what event you want this to fire off at but it's fairly simple and the line would look something like this:
[code=vb]
Me.Caption = Me.txtMyField
[/code]
Where txtMyField is a field on your form. -
I have a form with multiple tabbed pages in a home care database. The patient's name and ID data is listed on the first tabbed page, but so that users can keep track of whose record they're working on, when they're on one of the other tabbed pages, I use
[CODE=vb]Form_Current()
Me.Caption = Me.PatientName
End Sub[/CODE]
That way, the caption changes with each record, and by simply glancing up, the user can tell "Who's on first?"
Welcome to TheScripts!
Linq ;0)>Comment
-
Comment