G
Guest
having a brain freeze
Private Sub Command48_Click()
CurrentDb().Execute "UPDATE QBTerms SET [date] = 'Smile' WHERE record = 4;",
dbFailOnError
End Sub
works fine - puts the word Smile into the 4th record of the Date column in
the QBTerms table
Now my confusion begins if:
rather than hardcode the word smile, need to insert a value from txtBox1 of
Form and is text
think I've tried all combos of symbols and am pretzel brained....as long as
I'm asking the experts
b. ditto but is a number rather than text
c. ditto again but is a date
merci
Private Sub Command48_Click()
CurrentDb().Execute "UPDATE QBTerms SET [date] = 'Smile' WHERE record = 4;",
dbFailOnError
End Sub
works fine - puts the word Smile into the 4th record of the Date column in
the QBTerms table
Now my confusion begins if:
rather than hardcode the word smile, need to insert a value from txtBox1 of
Form and is text
think I've tried all combos of symbols and am pretzel brained....as long as
I'm asking the experts
b. ditto but is a number rather than text
c. ditto again but is a date
merci