I am trying to take the value a user enters with an inputbox and insert it into a table.
Here is my code:
the value entered by the user will be numeric... it's a dollar amount ####.## - is this my problem?
Thanks, PDUNCAN
Memphis, TN - USA
When I die, I want to die like my grandfather-- who died peacefully in
his sleep. Not screaming like all the passengers in his car.
Here is my code:
Code:
Dim response As Integer
response = InputBox("What was the Regional Total?", "Input The Total")
DoCmd.RunSQL "INSERT INTO tblInvoiceTotals (RegionalTotalInv) VALUES (" & [response] & ");"
the value entered by the user will be numeric... it's a dollar amount ####.## - is this my problem?
Thanks, PDUNCAN
Memphis, TN - USA
When I die, I want to die like my grandfather-- who died peacefully in
his sleep. Not screaming like all the passengers in his car.