Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 281
  • Last Modified:

Run time error '2645' - Option Label deleted

I inadvertently deleted my OptionLabel2 on the Switchboard.  Is there any way to add it back?  I don't want to lose the rest of the work that I've done on the switchboard by starting from scratch.

Thanks!
0
ktylerconk
Asked:
ktylerconk
  • 3
  • 2
1 Solution
 
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)Commented:
Do you have a backup ?

mx
0
 
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)Commented:
Add a blank label where the other one was, then:

1) Set the Name property of the label to:

OptionLabel2

2) Put this in the On Click Event on the label property sheet:

=HandleButtonClick(2)

mx
0
 
ktylerconkAuthor Commented:
Thanks - I am a total beginner at Access. How do you add the blank label?  
0
 
ktylerconkAuthor Commented:
No, I don't have a backup. It was just created today.
0
 
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)Commented:
ok ... sure

Open the Switchboard form in Design view
Form the Access Menu, click View Toolbar
On the toolbar, you will see an icon that is 'Aa' - which is the label tool.
Click it once and release ... then click and drag a label onto the switchboard.
If you don't already see the Property sheet ... Menu>>View>>Properties.

Set the properties I mentioned above.

mx


0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now