Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
For the first time [in Access 2007], you can format text a text box: bold, italics, bulleted lists, fonts, colors, etc. Use for comments, merge letter reports, ...
Applies to text boxes that are unbound, bound to an expression, or bound to a Memo field that has the Text Format property set to Rich Text (in table design.)
Note: stores HTML (not RTF.)
Private Sub Command4_Click()
Dim memTemp As String
Dim strSql As String
Me.TxtBoxMemo.SetFocus
If Not IsNull(Me.TxtBoxMemo.Text) Then
memTemp = Me.TxtBoxMemo.Text
strSql = "Insert into tblData ( newMemo ) values('" & memTemp & "')"
CurrentDb.Execute strSql
End If
End Sub
Better still, why not simply use a bound form? The belief that unbound forms are necessary in order to do data validation before "committing" data is simply not true!User inputs all the data, allowing me to do specific checks before committing the data.