Hi, I am trying to Sum two fields in my query with an IIf statement that only applies to one of the fields. I keep getting syntax errors and can't figure it out.
Calc Rjct Qty: Sum(([OM Rjct Qty],IIf([Rjct Sched Rsn Cd] In ('Z4','Z5','Z6','Z7','Z8'))+[Uncnfm Qty],0))
Want to Sum OM Rjct Qty...
Does anyone know what the cause of this may be?
I am joining 2 tables with the following fields and data:
ModelNo SONo SO_Line_No OrderQty LateQty ProcessDt
ABC 123 10 350 25 4/15/2011
ABC 123 10 50 0 4/20/2011
I am pulling all but LateQty from Table1 and LateQty from Table2. I join my 2...
I'm completely lost on this one. I am querying from linked Oracle tables and cannot change any of the data.
I am grouping by "Prod_Code". The problem is that I have one field in my table that may or may not have data, "Country".
What I am getting is one record for each "Prod_Code" that does...
Does anyone know why Access 2007 locks up when I try to build a new query off of a crosstab query? I can't even get it placed on the query design grid, it just sits there and I have to shut down to get out of Access. If it finally does drop it in (1 time out of 10), I lose it when i try to save...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.