sillysender
Programmer
- May 5, 2008
- 1
this code works as customer software is the main form
Me![SOFTVER] = DLookup("[VERSION]", "[SOFTWARELINK]", "[DWG#] =" & """" & Forms![CUSTOMER SOFTWARE]![EECPARTNO] & """")
but not with it being a subform
I tried using this, but it doesn't work
Me![SOFT] = DLookup("[TYPE]", "[SOFTWARELINK]", "[DWG#] = " & """" & [Forms]![JOB NUMBER]![CUSTOMER SOFTWARE].[Form]![EECPARTNO] & """")
This coding works with another database but won't work in the one I am currently using
'Me![Description] = DLookup("[Description]", "[Products]", "[Part Number ID] = Forms![Proposed Products Menu]![Proposed Products].Form![Part Number ID]")
Me![SOFTVER] = DLookup("[VERSION]", "[SOFTWARELINK]", "[DWG#] =" & """" & Forms![CUSTOMER SOFTWARE]![EECPARTNO] & """")
but not with it being a subform
I tried using this, but it doesn't work
Me![SOFT] = DLookup("[TYPE]", "[SOFTWARELINK]", "[DWG#] = " & """" & [Forms]![JOB NUMBER]![CUSTOMER SOFTWARE].[Form]![EECPARTNO] & """")
This coding works with another database but won't work in the one I am currently using
'Me![Description] = DLookup("[Description]", "[Products]", "[Part Number ID] = Forms![Proposed Products Menu]![Proposed Products].Form![Part Number ID]")