help me master

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

help me master

octafia
master mohon bantuannya ,, ni kenapa ya kok METHOD OR DATA MEMBER NOT FOUND,, saat aku run

dan di sub fillistview() tulisannya kuning ketika aku klik ok

di listitems.clear biru

mohon bantuannya makasih


Sub filllistview()
Dim rc As ADODB.Recordset
strsql = " select * from ubhara_baru "
Set rc = konek.Execute(strsql)
ListView1.ListItems.Clear
Do While Not rc.EOF
Set Item = ListView1.ListItems.Add(, , rc!nim)
Item.SubItems(1) = rc!tmp_tgl & ""
Item.SubItems(2) = rc!pk_ortu & ""
Item.SubItems(3) = rc!umur & ""
Item.SubItems(4) = rc!agama & ""
Item.SubItems(6) = rc!krj_mhs & ""
rc.MoveNext
Loop
Set rc = Nothing
End Sub
Reply | Threaded
Open this post in threaded view
|

Re: help me master

djiesoft
Sintaknya udah benar....
tapi mungkin coba baca ini,, semoga membantu
http://djiesoft.blogspot.com/2012/05/cara-mengatasi-error-vb6-cant-find.html