good morning experts...
Please correct my code below, because only one line of data appears:
and if I browse detailku it shows a lot of data as shown in the image below



Please correct my code below, because only one line of data appears:
Code:
m.tanggal = thisform.txtTanggal.value
lnResult = SQLExec(Thisform.nHandle, "select top (20) * from dbo.detail where tanggal = ?m.tanggal", "detailku")
lnResult = SQLExec(Thisform.nHandle, "select top (20) * from dbo.debitur where norekening = ?detailku.norekening", "debiturku")
lnResult = SQLExec(Thisform.nHandle, "select top (20) * from dbo.nasabah where cif = ?debiturku.cif", "nasabahku")
lnResult = SQLExec(Thisform.nHandle, "select top (20) * from dbo.jaminan where norekening = ?detailku.norekening", "jaminanku")
select debiturku.norekening,detailku.tanggal,nasabahku.nama,jaminanku.keterangan ;
from detailku ;
join debiturku on detailku.norekening = debiturku.norekening ;
join nasabahku on debiturku.cif = nasabahku.cif ;
join jaminanku on detailku.norekening = jaminanku.norekening ;
where detailku.sandi = 3 group by 1,2,3,4 order by 1 ;
into cursor templunas readwrite
and if I browse detailku it shows a lot of data as shown in the image below


