ACC97: Label Shows ControlTip Text of Associated Text Box

Last reviewed: February 19, 1998
Article ID: Q181338
The information in this article applies to:
  • Microsoft Access 97

SYMPTOMS

Novice: Requires knowledge of the user interface on single-user computers.

When a text box and a label are associated on a form (as they are by default when you add a text box) and you enter different text for the ControlTipText property of each control, both the text box and the associated label display the ControlTipText value of the text box.

RESOLUTION

If you want to display different control tips for a text box and its associated label, you must first "de-associate" them.

NOTE: The AutoLabel property of the default text box is responsible for specifying whether labels should be attached to new text boxes. For more information about the AutoLabel property and how to set it, search the Help Index for information on how to "Specify whether labels are automatically attached to new controls," or ask the Microsoft Access 97 Office Assistant.

To "de-associate" a text box and a label, follow these steps:

  1. In Microsoft Access 97, open your form in Design view.

  2. Click the label associated with a text box. Ensure that you select only the label (surrounded by handles) rather than both the label and the text box.

  3. On the Edit menu, click Cut. If both the label and text box disappear, on the Edit menu, click Undo Cut and repeat step 2.

  4. On the Edit menu, click Paste.

  5. Drag the label to its original position.

MORE INFORMATION

Steps to Reproduce Behavior

  1. In Microsoft Access 97, open the sample database Northwind.mdb.

  2. Open the Customers form in Design view.

  3. Right-click the label portion of the Company Name text box control (CompanyNameLabel) to bring up the shortcut menu, and then click Properties.

  4. In the CompanyNameLabel properties box, click the Other tab.

  5. Enter the following text in the ControlTipText property, and then close the properties box:

    label

  6. Right-click the CompanyName text box control to bring up the shortcut menu, and then click Properties.

  7. In the CompanyName properties box, click the Other tab.

  8. Enter the following in the ControlTipText property, and then close the properties box:

    text box

  9. Save the form. On the View menu, click Form View.

  10. Note that the control tips for both the label and the text box say "text box" (without the quotation marks).

REFERENCES

For more information about control tips, search the Help Index for "ControlTipText Property," or ask the Office Assistant.


Additional query words: lost not showing up can't cannot see find
Keywords : FmrProp kbdta
Version : WINDOWS:97
Platform : WINDOWS
Hardware : x86
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 19, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.