terima kasih mas gege,
iya, saya sudah pake iif.. and working
best regards,
(\__/)
(='.'=) Agus Sudana
(")_(")
________________________________
From: Gege Nugroho <[EMAIL PROTECTED]>
To: [email protected]
Sent: Friday, October 17, 2008 5:01:45 PM
Subject: [Programmer-VB] Jawabin : listview error "invalid use of null"
Pake IIF...
Lengkapnya?
Googling dwongs....
Happy hunting
Regards
Gege Nugroho
--- On Fri, 10/17/08, Agus Sudana <[EMAIL PROTECTED] com> wrote:
From: Agus Sudana <[EMAIL PROTECTED] com>
Subject: [Programmer- VB] listview error "invalid use of null"
To: "milis programmer" <Programmer-VB@ yahoogroups. com>
Date: Friday, October 17, 2008, 3:50 PM
dear kakak2 VB'ers,
agar listview juga menampilkan record yg null dari database, bagaimana ya..?
berikut potongan script'nya, errornya selalu mengarah ke subitem(2). setelah di
tracking, record field 2 di database ada yg null
If rs.RecordCount > 0 Then
rs.MoveFirst
Do While Not rs.EOF
Set xListItem = lvDataAbsent. ListItems. Add(, , rs(0))
xListItem.SubItems( 1) = rs(1)
xListItem.SubItems( 2) = rs(2)
rs.MoveNext
Loop
end if
need advice,
salam,
Agus Sudana
____________ _________ _________ _________ _________ __
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail. yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com