A family of Microsoft relational database management systems designed for ease of use.
Hallo GrayHelo,
GrayHelo schrieb folgendes:
...
But I want to add the where condition "[Tech] = '" & TechName & "'". I applied the single quotes because, as I understand it, strings require them in this case. No matter how I attempt to apply the code, it gives me the Compile Error: "Expected: ="
DoCmd.OpenForm(FrmWho, , , "[Tech] = '" & TechName & "'")
Try:
DoCmd.OpenForm FrmWho, , , "[Tech] = '" & TechName & "'"
HTH
Gunter
Access FAQ: http://www.donkarl.com
http://www.avenius.com - http://www.AccessRibbon.com
http://www.ribboncreator.com - http://www.ribboncreator2010.com