Hello,
I am trying to write a command to upload data inputted on a form into a table (I am aware that this is counterintuitiv e to the table/form relationship).
Here is my code:
Suppose I had an additional field in the table, "Hire Date" (format: date/time) and a text box on my form, "Date". How would I include that in the code? I am not familiar with SQL or VBA - trying to teach myself and the apostrophes and quotes are throwing me off - any help you can provide is very much appreciated!
I am trying to write a command to upload data inputted on a form into a table (I am aware that this is counterintuitiv e to the table/form relationship).
Here is my code:
Code:
CurrentDb.Execute "INSERT INTO Table1 ( Salary, Employee ) VALUES '" & [Forms]![Form1]![EmpSalary] & "', '" & [Forms]![Form1]![EmployeeName] & "';"
Comment