select str(year(tarih),4)+"/"+str(month(tarih),2) as Ay, sum(kilo) as Kilo ; from (dbname) ; where tarih between ldStart and ldEnd ; and cari_no # trim(depodata[1]) ; group by 1 into cursor query M.CGDATA = "" scan m.cgdata = m.cgdata+TAB+ay endscan m.cgdata = m.cgdata +crlf+"Kilo" go top scan m.cgdata = m.cgdata+TAB+str(kilo,7) endscan graphType = 4 graphsubType = 4 create cursor foo (gen1 g) append blank append general gen1 class "msgraph.chart" DATA M.CGData report form repgraph to printer noconsoleCetin