Results 1 to 3 of 3
  1. #1
    4 Star Lounger
    Join Date
    Oct 2002
    Location
    Sayre, Pennsylvania, USA
    Posts
    504
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Switchboard (2000)

    Hi,
    I used the switchboard manager and have several switchboards to separate reports, and such. Is there a way to have a label show up that says above the buttons "Main Menu", "Report Menu" etc.when I switch to the different switchboards?
    Thanks,
    Deb

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Switchboard (2000)

    The code for the switchboard changes the caption of the form to the title of the switchboard page:

    Private Sub Form_Current()
    ' Update the caption and fill in the list of options.
    Me.Caption = Nz(Me![ItemText], "")
    FillOptions
    End Sub

    You can easily modify this to change the caption of the two labels above the buttons:

    Private Sub Form_Current()
    ' Update the caption and fill in the list of options.
    Me.Label1.Caption = Nz(Me![ItemText], "")
    Me.Label2.Caption = Nz(Me![ItemText], "")
    FillOptions
    End Sub

  3. #3
    4 Star Lounger
    Join Date
    Oct 2002
    Location
    Sayre, Pennsylvania, USA
    Posts
    504
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Switchboard (2000)

    Thanks Hans,
    Works like a charm. You're the greatest.
    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16>
    Deb

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •