ulke adres isim ucret
abd a ayse 3
uk b serpil 8
abd c celal 9
tr d oya 21
degerlı hocam ulke bazında ısımlerı ve ılgılı ucretın sumını vb6 da datareporta gruplamak ve en genel toplamı almak ıstıyurm datareportun şema sayfasında grup degıskenınde fx functıonu kullanmak ıstemıyorum ve msdatasahape provıderıda kullanmak ıstemıyorum bu syntaxı farklı olarak shape as gh compute gh group by ulke yazdıgımda kod dogru calısıyor ama asagıdakı sql ıfadesı ıle alt sorgu ıcınde olustrumak ıstiyorum
dırekt sql syntaxını vb6 icinde soyle yazdıgımda soyle bır hata alıyor
bu alt sorgu tarafından en az bır kayıt dondurlur dıyor ve run tıme hataya dusuyor
syntax soyle fakat
rs.mycon="select ulke,adres,isim,ucret from x where ulke)" + _
(select ulke , sum(ucret) as ucr from group by ulke,ucret), _
baglantılar
************************************************** **********************
datareport seması soyle olması lazım
1 grup baslıgı ulke (yanı sectıon 2)
2 grup baslıgı
ulkelabel adresim isimlabel ucretlabel
3 alanlar sectıon1
text1ulke text2adress isimtext ucret text
abd a ayse 9
abd c celal 3
section 7 grup sonu
totaltext 11
************************************************** *
grup baslıgı ulke (yanı sectıon 2)
2 grup baslıgı
ulkelabel adresim isimlabel ucretlabel
3 alanlar sectıon1
text1ulke text2adress isimtext ucret text
uk b serpıl 8
section 7 grup sonu
totaltext 8
************************************************** ********
grup baslıgı ulke (yanı sectıon 2)
2 grup baslıgı
ulkelabel adresim isimlabel ucretlabel
3 alanlar sectıon1
text1ulke text2adress isimtext ucret text
tr d oya 21
section 7 grup sonu
totaltext 21
en genel sonuc sectıon ?
engenelsonuc 41
__________________
vb6 sql cumlesı hatası datareport doseme problemı
Programlama0 Mesaj
●39 Görüntüleme
- ReadBull.net
- Programlama ve Yazılım
- Programlama
- vb6 sql cumlesı hatası datareport doseme problemı