Form header in tabbed form??

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello, I'm just learning how to have a tabbed form.

Can one have a form header (say, with someone's name and info) always show
up at the top, so that the user can always see it on top regardless of what
tab they're on?

Thanks!

Stilla
 
Sure, Stilla.

Take your pick:

a) In form design view, move the tab control down the form a bit. Then add a
text box above it.

b) Add a Form Header section to your form. (View menu, in form design.)

c) Use the Current event of the form to programmatically put the crucial
identifier data into the Caption of the form. Example:
Private Sub Form_Current()
If Me.NewRecord Then
Me.Caption = "Clients - New record"
Else
Me.Caption = "Client " & Me.ClientID & " - " & Me.FirstName & "
" & Me.Surname
End if
End Sub
 
Thank You! The first option worked. The second option, I'd tried this..it
is visible on print preview but not on FORM View. The third,
ooo0h..code...no, I'm not there yet!!!

A million thanks
 
Stilla said:
Thank You! The first option worked. The second option, I'd tried
this..it is visible on print preview but not on FORM View.

You used PageHeader rather than FormHeader. PageHeader is only for printing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top