Hi all,
I'm trying to make a formatted search in the Address Component (shipping address) table. This table is called RDR12.
I need to pull the Block name from the Customer Equipment Card (OINS) based on a UDF named u_equipID on the ORDR table.
Here is the query I have. Will this work like I intend it to? I have not tried the $[table.field] format in a formatted search before. Will it just pull from the currently open field? Or will it try and pull from every field?
SELECT t2.Block
FROM RDR12 T0
LEFT JOIN ORDR T1
ON T0.[DocEntry] = T1.[DocEntry]
LEFT JOIN OINS T2
ON T1.[u_equipid] = T2.[insID]
WHERE T1.[DocEntry] = $[RDR12.DocEntry]
AND T1.[u_equipid] = t2.[insid])