I have sort a join Problem between two tables. The difference to regular joins is that I dont want to join the rows, but two or three field entries...
Two Tables:
Table A contains fields (not rows) listing intCodeIDx, intCodeIDy, intCodeIDz.
Table B holds a detailed field for each of these CodeIDs: strDescription
I want to create a query, that is based on Table A, but also pulls the Description from Table B:
intCodeIDx, strDescriptionOf(intCodeIDx), intCodeIDy, strDescriptionOf(intCodeIDy), intCodeIDz, strDescriptionOf(intCodeIDz)
I think this might work with a DLookup inside the query, but I get an error using this as the query field:
Ausdr1: DomWert("[strDescription]";"[tblCodeDescriptions]";"intCodeID=" & [intCodeIDx])
(DomWert is the german QBD Access term for DLOOKUP) ^^^^^^^^^^^^^^^^^^^^^^ this syntax I am not sure about
Does anyone know of a solution?
Two Tables:
Table A contains fields (not rows) listing intCodeIDx, intCodeIDy, intCodeIDz.
Table B holds a detailed field for each of these CodeIDs: strDescription
I want to create a query, that is based on Table A, but also pulls the Description from Table B:
intCodeIDx, strDescriptionOf(intCodeIDx), intCodeIDy, strDescriptionOf(intCodeIDy), intCodeIDz, strDescriptionOf(intCodeIDz)
I think this might work with a DLookup inside the query, but I get an error using this as the query field:
Ausdr1: DomWert("[strDescription]";"[tblCodeDescriptions]";"intCodeID=" & [intCodeIDx])
(DomWert is the german QBD Access term for DLOOKUP) ^^^^^^^^^^^^^^^^^^^^^^ this syntax I am not sure about
Does anyone know of a solution?