View Full Version : Display of switchboard titles


Gkirkup
04-02-2007, 03:55 AM
I have many menus snd sub-menus in an application. I see that each switchboard has a title. How do I display that title with the switchboard?

Robert

ezfriend
04-02-2007, 07:40 AM
Look in the code for the switch board under the function


Private Function HandleButtonClick(intBtn As Integer)
.....
Select Case rs![Command]

' Go to another switchboard.
Case conCmdGotoSwitchboard
Me.Filter = "[ItemNumber] = 0 AND [SwitchboardID]=" & rs![Argument]
'Add these two lines
Label1.Caption = rs!ItemText
Label2.Caption = rs!ItemText

.....

I hope this is what you are looking for.