main switchboard caption

  • Thread starter Thread starter David Cleland
  • Start date Start date
D

David Cleland

anyone know how to change the caption of the main switchboard. Mine says
"main switchboard" yet I have changed it in the caption property ?

David
 
On the whole, it's probably better to "roll your own" on switchboards, but
if you must use Microsoft's, you can do this by modifying the Switchboard
Options table and the FillOptions procedure in the Switchboard's form
module. I had to do this some time ago, and unfortunately I've lost track of
the specifics, but it works if you don't have any other options.
 
David said:
anyone know how to change the caption of the main switchboard. Mine says
"main switchboard" yet I have changed it in the caption property ?

David

David, Yes changing the caption property will not make any effect, since
there is code on the form that overwrite this property. The right way to
rename the switchboard is by going to the "Switchboard Items" table and
changing the value of the "ItemText" field of the record with field
"ItemNumber" = 0.

-Randy
 
Hi David,

You will need to change the name of the switchboard itself (not the form) -
You need to do this in the switchboard manager (Tools> Add-ins> Switchboard
Manager - in access 97)
 
Hi David,

You will need to change the name of the switchboard itself (not the form) -
You need to do this in the switchboard manager (Tools> Add-ins> Switchboard
Manager - in access 97)

The Switchboard form's Current event sets the caption of each
switchboard page.

Private Sub Form_Current()
' Update the caption and fill in the list of options.

Me.Caption = Nz(Me![ItemText], "")
FillOptions

End Sub

To change the caption of the first page, using the switchboard editor
change (Edit) the first switchboard page name (Main Switchboard) to
whatever you wish.
To change the caption of all pages to the same, simply use:
Me.Caption = "this is the caption."
 

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

Similar Threads


Back
Top