Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

DConcat not working - getting #Error in query results

Avatar of Karen Schaefer
Karen SchaeferFlag for United States of America asked on
Microsoft Access
30 Comments1 Solution1275 ViewsLast Modified:
I had the code working then I went to make a modification to the query using the Dconcat function and now I am getting #Error.  

Here is my current query - what am I missing?
Note the query works great if I remove the DConcat portion of the query - so what is wrong with my syntax?


SELECT Qry_PrgUODetail.WS_NO_UO AS WS_NO, DConcat("[MN]","[Qry_PrgUODetail]","[WS_NO_UO] = '" & [WS_NO_UO] & "'") AS MNList, Max(IIf([APNo]="ZB001","X",'')) AS ZB001, Max(IIf([APNo]="ZB002","X",'')) AS ZB002, Max(IIf([APNo]="ZB021","X",'')) AS ZB021
FROM Qry_PrgUODetail
GROUP BY Qry_PrgUODetail.WS_NO_UO;
ASKER CERTIFIED SOLUTION
Avatar of Patrick Matthews
Commented:
This problem has been solved!
Unlock 1 Answer and 30 Comments.
See Answers