G
Guest
I am trying the following code but am getting an error:
CurrentDb.Execute "INSERT INTO [GPS Unit Table](Stock Number, Employee ID
(Added Unit) , In Service Date) VALUES(" & Me.Stock_Number_Field_Add & ","" &
Me.Employee_ID_Field_Add & "",#" & Me.AddDate_Field & "#)", dbFailOnError
"Stock Number", "Employee ID (Added Unit)", and "In Service Date" are all
field names in the table I want to update.
The following items are the actual field names in the form:
Stock Number Field_Add
EmployeeID Field_Add
AddDate Field
Any suggestions would be appreciated. Thanks for the help.
Any suggestions?
CurrentDb.Execute "INSERT INTO [GPS Unit Table](Stock Number, Employee ID
(Added Unit) , In Service Date) VALUES(" & Me.Stock_Number_Field_Add & ","" &
Me.Employee_ID_Field_Add & "",#" & Me.AddDate_Field & "#)", dbFailOnError
"Stock Number", "Employee ID (Added Unit)", and "In Service Date" are all
field names in the table I want to update.
The following items are the actual field names in the form:
Stock Number Field_Add
EmployeeID Field_Add
AddDate Field
Any suggestions would be appreciated. Thanks for the help.
Any suggestions?