Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 13 with Listview
Message
From
17/09/2004 10:22:37
 
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Error 13 with Listview
Miscellaneous
Thread ID:
00943356
Message ID:
00943356
Views:
75
Hello,

I keep getting an error 13 (type mismatch) when trying to reference a variable to the addd method of a listview.

Why is that?

here is the code:

dim x as ListItem
Do While Not rs.eof
(error here on the referencing)
x = lvwElements.LstItems.Add
x.Key = rs("Element_Name")

rs.Movenext
loop


Thanks
Ben Rail
Business Solutions
LOGI.design
Next
Reply
Map
View

Click here to load this message in the networking platform