Hi All,
Any idea why the following doesn't work? it takes the contents of an unbound txt box and 'should' place it into the address5 field.
Any help greatly appreciated.
Private Sub countryabb_AfterUpdate()
Dim strText As String
strText = Me.countryabb
DoCmd.RunSQL "INSERT INTO Tbl_CusDetails (Address5) '" & strText & "';"
End Sub
cheers
Mup'
Any idea why the following doesn't work? it takes the contents of an unbound txt box and 'should' place it into the address5 field.
Any help greatly appreciated.
Private Sub countryabb_AfterUpdate()
Dim strText As String
strText = Me.countryabb
DoCmd.RunSQL "INSERT INTO Tbl_CusDetails (Address5) '" & strText & "';"
End Sub
cheers
Mup'