Expand|Select|Wrap|Line Numbers
- expr1:(SELECT employees.sku from employees where employees.id = [employee];)
Can I get this to work in a text box control in a form?
Employees is a table.
Labor is a table that looks up data from the employee table with this lookup query;
Expand|Select|Wrap|Line Numbers
- SELECT employees.ID, employees.name, employees.sku, employees.initials FROM employees;
I want to show the employees.sku in the subform so it is printed with the rest of the form. I created a text box control that get the time difference from the labor.work_in_time and labor.work_out_time like this;
Expand|Select|Wrap|Line Numbers
- =(DateDiff("n",[work_in_time],[work_out_time])\60 & Format(DateDiff("n",[work_in_time],[work_out_time]) Mod 60,"\:00"))