UnsolvedCoding
Technical User
I have a problem (again).
A table was made for a time sheet that houses employees last and first names with an employee number. Because those three fields need to be combined a select query was made which correctly populates the information - the field is called Emp_ID.
When the form that uses Emp_ID populates the combobox everything is correctly.
So far so good.
The queries that need to run follow the do.cmd statment in VBA but as soon as the VBA starts to use the SQL update statment the variables given in functions do not pass back to the table in Access and Access asks for the value of the Emp_ID field.
I need to fix this and the expression builder has a way to get into functions but nothing I have found for code samples or articles has fixed the problem of why the fields work and then go blank and why the table won't populate like it did a few hours ago.
This is driving me in circles.
A table was made for a time sheet that houses employees last and first names with an employee number. Because those three fields need to be combined a select query was made which correctly populates the information - the field is called Emp_ID.
When the form that uses Emp_ID populates the combobox everything is correctly.
So far so good.
The queries that need to run follow the do.cmd statment in VBA but as soon as the VBA starts to use the SQL update statment the variables given in functions do not pass back to the table in Access and Access asks for the value of the Emp_ID field.
I need to fix this and the expression builder has a way to get into functions but nothing I have found for code samples or articles has fixed the problem of why the fields work and then go blank and why the table won't populate like it did a few hours ago.
This is driving me in circles.