Advertisement
Advertisement
| 05.09.2008 at 12:15PM PDT, ID: 23390541 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: |
I would like to somehow get this SQL which calculates to see if there is available items to yet be assigned:
SELECT [Quantity]-nz([MeasureQuantity]) AS TotalUnassigned
FROM tblPO_Details LEFT JOIN tblOrdersItems ON tblPO_Details.PO_DetailsID = tblOrdersItems.PO_DetailsID
WHERE ((([Quantity]-nz([MeasureQuantity]))<>0));
With this Query where the temp table is included to allow the user to enter data for individual items on the form:
SELECT tblPO_Details.PO_DetailsID, tblPO.FileNumber, sysOrdersItemAssoc.TempQuantity, sysOrdersItemAssoc.DetailsLink
FROM tblPO INNER JOIN (lstExpendClass INNER JOIN (tblPO_Details LEFT JOIN sysOrdersItemAssoc ON tblPO_Details.PO_DetailsID = sysOrdersItemAssoc.DetailsLink) ON lstExpendClass.ExpendClassID = tblPO_Details.ExpendClassID) ON tblPO.PO_ID = tblPO_Details.PO_ID
WHERE (((lstExpendClass.ExpendClass) In ("Reg Cont","Reg Mat","H&S Cont","H&S Mat")))
ORDER BY tblPO_Details.PO_DetailsID;
|