@rsimsek ustadım çok teşekkürler ama dediğiniz şekilde yaptıktan sonra toplam tutarı göstermek istediğimde hata alıyorum.
Kod: Tümünü seç
sorgu = " select id, tarih, tarih2, tutar, acenta, yolcu, cocuk, yon, sum(tutar) as toplamtutar from fatura where acenta = '"&acenta&"' and tarih2>=#"& tarih3 &"# and tarih2<=#"& tarih4 &"# group by id, tarih, tarih2, tutar, acenta, yolcu, cocuk, yon"
toplam tutarı göstermek için ;
diyorum. ama aşağıdaki hatayı alıyorum;
Kod: Tümünü seç
ADODB.Field error '80020009'
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
/butun_tablo.asp, line 0
aldığım hata sayfanın tamamında değil sadece toplam tutarı göstermiş olduğum tabloda ortaya çıkıyor.. yani toplam tutarı gösterirken yanlış kod mu kullanıyorum..
Teşekkürler