jmd0252
Programmer
- May 15, 2003
- 667
I have a primary table, with everything, I have SQL commands I have created, and run fine, but because of the prompting and dates, do not contain everything. So the math is simple,, beginning balance(primary file) - Sales(sql command), +/- adjust, transfer, crushing(sql command). What I see is when there are records for everything,, it works great, otherwise I do not get a value. And no the one record with the 3, may have 1,2,or all items. Now I can do math on the "3" record, no problem. But my few attempts at writing formulas have not been pretty. The tables are linked left outer to the sql commands, via a station code, and a material code. Ideas, suggestions, comments, queries??? Any help is great. I am using XI, and the report is grouped by station, then by material. Thanks in advance,, Jim