membantu sekali,
terima kasih..
(\__/)
(='.'=) Agus Sudana
(")_(")
________________________________
From: Among Saliro <[EMAIL PROTECTED]>
To: [email protected]
Sent: Friday, October 17, 2008 5:13:28 PM
Subject: Re: [Programmer-VB] listview error "invalid use of null"
ini dia coba
...= IIF(IsNull(rs( 1)),"",rs( 1))
...= IIF(IsNull(rs( 2)),"",rs( 2))
semoga membantu
--- On Fri, 10/17/08, Gege Nugroho <gegenugroho@ yahoo.com> wrote:
From: Gege Nugroho <gegenugroho@ yahoo.com>
Subject: [Programmer- VB] Jawabin : listview error "invalid use of null"
To: Programmer-VB@ yahoogroups. com
Date: Friday, October 17, 2008, 10:01 AM
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