Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2756

Re: Crystal Reports long loading with SQL command

$
0
0

Hi Niraj,

 

End user wants to find out

  • the number of items sold to one customer within a specific period
  • overall profit margin of each item
  • Service Calls and A/R Invoices that the items transacted in.

 

The external command was quite simple, but it draws the data from Inventory Master, so I suspect each time it generate one row of data, it runs through the entire Inventory again.

The command is as shown:

SELECT T1.[ItemCode], T1.[Price]

FROM OITM T0 

INNER JOIN ITM1 T1 ON T0.ItemCode = T1.ItemCode

WHERE T1.[PriceList] =11

 

Regards,

Joseph


Viewing all articles
Browse latest Browse all 2756

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>