You can store HTML code in a field in a table, and when the data access page displays the values in that field, the HTML code performs the actions that you specified. You can accomplish this by binding the bound span control to a Text or Memo field in a Microsoft Access database or a text, ntext, varchar, or any other column that can store text in a Microsoft Access project. The contents of a bound span control are not editable.
For example, if a value in a field is <font color=red>red Text</font> and you set the DataFormatAs property to HTML, you will see red text when you view the data access page in Page view. If the DataFormatAs property is set to Text, then <font color=red>red Text</font> is the value displayed in the control. The default value of the DataFormatAs property is Text.
If the HTML text is lengthy, bind the bound span control to a field with the Memo data type (Access database), or the text or ntext data type (Access project).
Notes