When you build the query with AAA, instead of bringing in the table BBB put this as the last field.
STATE: DLookUp("[STATE]", "BBB", "[ID] = " & [ID])
However, this will work slower than if you bring in table BBB and join it via ID.
Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
|