Please see and find out what was the problem. It's seem OK on me but it doesn't work on vb code using SQL Server 2000
"SELECT qry_close_month.Item_code, T_ITEM.item_name, " & _
"Sum(IIf(qry_close_month.Bulan='January',qry_close_month.Stock,0)) AS Jan, " & _
"Sum(IIf(qry_close_month.Bulan='February',qry_close_month.Stock,0)) AS Feb, " & _
"Sum(IIf(qry_close_month.Bulan='March',qry_close_month.Stock,0)) AS Mar, " & _
"Sum(IIf(qry_close_month.Bulan='April',qry_close_month.Stock,0)) AS Apr, " & _
"Sum(IIf(qry_close_month.Bulan='May',qry_close_month.Stock,0)) AS May, " & _
"Sum(IIf(qry_close_month.Bulan='June',qry_close_month.Stock,0)) AS Jun, " & _
"Sum(IIf(qry_close_month.Bulan='July,qry_close_month.Stock,0)) AS Jul, " & _
"Sum(IIf(qry_close_month.Bulan='August',qry_close_month.Stock,0)) AS Aug, " & _
"Sum(IIf(qry_close_month.Bulan='September',qry_close_month.Stock,0)) AS Sep, " & _
"Sum(IIf(qry_close_month.Bulan='October',qry_close_month.Stock,0)) AS Oct, " & _
"Sum(IIf(qry_close_month.Bulan='November',qry_close_month.Stock,0)) AS Nov, " & _
"Sum(IIf(qry_close_month.Bulan='December',qry_close_month.Stock,0)) AS Dec, " & _
"qry_close_month.Bulan, qry_close_month.Tahun " & _
"FROM qry_close_month INNER JOIN T_ITEM ON qry_close_month.Item_code = T_ITEM.item_code " & _
"GROUP BY qry_close_month.Item_code, T_ITEM.item_name, qry_close_month.Bulan, qry_close_month.Tahun " & _
"WHERE TAHUN='" & year(date) & "'"