Method 1: Changing the InnerText Property of the Control
On a data access page, the InnerText property of a control is the equivalent of the Caption property of a control on a form. To change the value of the InnerText property for a control on a data access page, follow these steps:
Open the data access page in Design view.
Select the control whose caption you want to change.
If the property sheet is not already displayed, click Properties on the View menu.
Click the Other tab, and then change the value of the InnerText property.
Method 3: Editing the Underlying HTML That Defines the Control
You can also edit the HTML tags that define the control. Each control on a data access page is defined by the HTML tags behind the page. Although you can change most of the properties for each control through the property sheet of that control, you can also change the properties by directly editing the HTML. For an example of how to do so, follow these steps:
In the Database window, click Pages under Objects, and then click New.
In the New Data Access Page dialog box, click Design View, and then click OK.
If the toolbox is not displayed, click Toolbox on the View menu.
Add a label control to the data access page, click inside the label control, and then change the text to CategoryID.
On the Tools menu, point to Macro, and then click Microsoft Script Editor.
On the View menu, point to Other Windows, and then click Document Outline.
Select the control that you want in the Document Outline Window. This puts the focus on the HTML tags that make up the control in the Editor pane. The following is sample HTML code for a label control: