LookupQuery

Takes six parameters, DestQuery, SourceQuery, DestDestFld, DestXFld, DestYFld, SourceYFld

Description:

Given a 2D data map in a SourceQuery, use the values from the DestQuery Field specified by DestXFld to relate to the SourceQuery's Field names, and the current DestQuery Field specified by the DestYFld to match the SourceQuery's Records in the SourceYFld. Matched Records will have the value in SourceQuery's Field matching DestXFld copied onto the DestQuery's DestDestFld.