Hallo,
To find the SQL to do this, write an append query using th builder, then switch to SQL view and copy it into your code.
Use the following function to run an SQL Query:
Function ysnRunSQL(ByVal pstrSQL As String) As Boolean
On Error GoTo Err_ysnRunSQL
DoCmd.SetWarnings False
If ysnQueryExists(pstrSQL) Then
DoCmd.OpenQuery pstrSQL, acViewNormal
Else
DoCmd.RunSQL pstrSQL, True
End If
ysnRunSQL = True
Exit_ysnRunSQL:
DoCmd.SetWarnings True
Exit Function
Err_ysnRunSQL:
ysnRunSQL = False
Resume Exit_ysnRunSQL
End Function
All you have to remember is that string variable comparisons need to be in quotes, numeric ones do not.
So:
if not ysnRunSQL("INSERT INTO tblTable ( ID, strTest )
SELECT " & Me!txtNumeric & " AS Expr1, '" & Me!txtText & "' AS Expr2;"

then msgbox "Could not update tbl1Table",vbExclamation
will add a new record to tblTable, setting the number field called ID to the value in the current form control called txtNumeric and the text field strTest to the string in the control txtText.
Hope this helps,
- Frink
P.S. If you have any trouble the reply with details of the table to be updated and the form controls and I'll try again.