M
maill01
Unregistered / Unconfirmed
GUEST, unregistred user!
{ sSql := ' TRANSFORM Sum(K.Number)' +<br> ' SELECT W.ID,W.UserCode,W.Name,W.Sort,W.Unit' +<br> ' FROM WareStock AS K,Ware AS W,Depot AS D' +<br> ' WHERE K.WareID=W.ID and K.DepotID=D.ID' +<br> ' GROUP BY W.ID,W.UserCode,W.Name,W.Sort,W.Unit' +<br> ' PIVOT D.Name'; }