gheyman
Well-known Member
- Joined
- Nov 14, 2005
- Messages
- 2,347
- Office Version
- 365
- Platform
- Windows
I am having trouble with this Dlookup
=DLookUp("[WBS_PG_ID]","qryPIDBOE","[PID_Number]=" & [Forms]![frmEstimates]![ComboBOESelectPID])
In the Query named qryPIDBOE I need to grab the WBS_PG_ID where the combobox named comboBOESelectePID on my form named frmEstimates equals the field in the query named PID_Number
Query Name: qryBIDBOE
Query fields: WBS_PG_ID & PID_Number
Form Named: frmEstimates
Combobox: ComboBOESelectPID
=DLookUp("[WBS_PG_ID]","qryPIDBOE","[PID_Number]=" & [Forms]![frmEstimates]![ComboBOESelectPID])
In the Query named qryPIDBOE I need to grab the WBS_PG_ID where the combobox named comboBOESelectePID on my form named frmEstimates equals the field in the query named PID_Number
Query Name: qryBIDBOE
Query fields: WBS_PG_ID & PID_Number
Form Named: frmEstimates
Combobox: ComboBOESelectPID