Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Form header in tabbed form??

Discussion in 'Information Technology' started by Stilla, Jul 28, 2006.

  1. Stilla

    Stilla
    Expand Collapse
    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
     
  2. Loading...


  3. Allen Browne

    Allen Browne
    Expand Collapse
    Guest

    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

    --
    Allen Browne - Microsoft MVP. Perth, Western Australia.
    Tips for Access users - http://allenbrowne.com/tips.html
    Reply to group, rather than allenbrowne at mvps dot org.

    "Stilla" <Stilla@discussions.microsoft.com> wrote in message
    news:743FCA02-1F83-43E0-8771-93932AD51DB9@microsoft.com...
    > 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
     
  4. Stilla

    Stilla
    Expand Collapse
    Guest

    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

    "Allen Browne" wrote:

    > 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
    >
    > --
    > Allen Browne - Microsoft MVP. Perth, Western Australia.
    > Tips for Access users - http://allenbrowne.com/tips.html
    > Reply to group, rather than allenbrowne at mvps dot org.
    >
    > "Stilla" <Stilla@discussions.microsoft.com> wrote in message
    > news:743FCA02-1F83-43E0-8771-93932AD51DB9@microsoft.com...
    > > 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

    >
    >
    >
     
  5. Rick Brandt

    Rick Brandt
    Expand Collapse
    Guest

    Stilla wrote:
    > 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.

    --
    Rick Brandt, Microsoft Access MVP
    Email (as appropriate) to...
    RBrandt at Hunter dot com
     

Share This Page