Create a bound span control

Microsoft Office Access 2003

Show All Show All

Create a bound span control

You can use a bound span control to display data from a field in the database or to display the result of an expression. You can't create bound span controls on a form or report.

  1. Open the data access page in Design view.
  2. Click the Bound Span tool Button image in the toolbox.
  3. To bind the control to a field, in the field list, click the field that you want to add to the page, and then drag it to the data access page.
  4. In the data access page, release the field where you want the upper-left corner of the bound span control to be.

Notes

  • If a bound span control is bound to a field that contains HTML text, set the DataFormatAs property of the control to HTML to display HTML-formatted text. The property is set to TEXT by default.
  • Users cannot edit the contents of a bound span control in Page view or in Microsoft Internet Explorer.
  • Use bound span controls instead of text boxes to improve the performance of a page.

    Security  Use bound span controls or hyperlink controls with caution. Unauthorized users may be able to insert harmful HTML text into these controls. Processing this text without validation or modification could result in the loss of personal information or other data. To prevent the HTML text contained in a control from being rendered, encode the contents of the control.