How do I have both the label on the Switchboard form and the form caption itself change to match the name of the sub-menus?
Have this code in the Form’s Current event: Private Sub Form_Current() ‘ Update the form caption and label and fill in the list of options. Me.Caption = Nz(Me![ItemText], “”) Me.Label1.Caption = Nz(Me![ItemText], “”) FillOptions End Sub Access Newsgroup regular Karl Dewey has a working sample here using a slightly different technique. Karl uses OptionLabel1 to display the menu title The menu is loaded into the Switchboard Items table as item 1 of each SwitchboardID. He also removed the command button for Option1, changed the font (color and size) and centered it in the display.
Related Questions
- I want to create a WDBI query form without padding dots between the label and input box. Is it possible to do this by using "no_dots" attribute in the FDF file?
- How do I have both the label on the Switchboard form and the form caption itself change to match the name of the sub-menus?
- How much area should be allowed for the overlap of the form and the label?