adhoustonj
Member
- Local time
 - Today, 09:18
 
- Joined
 - Sep 23, 2022
 
- Messages
 - 178
 
Hello AWF,
What is the best way to pass a hidden text box value to a sql server view?
I have a hidden text box on one of my forms that holds the department an employee belongs to.
This is how I have done it in access.
	
	
	
		
Thanks
 What is the best way to pass a hidden text box value to a sql server view?
I have a hidden text box on one of my forms that holds the department an employee belongs to.
This is how I have done it in access.
		Code:
	
	
	SELECT tblEmployees.emp_id, tblEmployees.department
FROM tblEmployees
WHERE tblEmployees.department=[Forms]![frmHomePage]![department]
	Thanks