I have a Form (frmCriteria) with a Combobox (cmbSelWsCd) and a Text Field (txtWsMgr).
I have a table (WS) with the following fields:
WsCd
WsDesc
WsMgr
The Combobox has WsCd & WsDesc (WsCd is bound).
When I select the WsDesc from the Combobox I want to populated the Text field txtWsMgr with the corrosponding table value.
I've tried: DLookup([WsMgr], "WS","[WsCd]=[Forms].[frmCriteria].[cmbSelWsCd]")
I've entered the following for txtWsMgr Source: SELECT WS.WsMgr FROM WS WHERE (((WS.WsCd)=[Forms].[frmCriteria].[cmbSelWsCd]));
Any suggestions?
Thanks