473,382 Members | 1,424 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Why "Method or Data Member not found" message is showing

Error "Method or Data Member not found" here is my code if any one may solve my problem.

Expand|Select|Wrap|Line Numbers
  1. Dim conDataConnection As Connection
  2. Dim strSQL As String
  3. Dim lstSel As ListItem
  4.  
  5.   Set conDataConnection = New Connection
  6.   conDataConnection.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= " & App.Path & _
  7.                          "\data.mdb;Persist Security Info=False"
  8.  
  9. For Each lstSel In ListView1.LisItems
  10.  
  11.   strSQL = "Insert Into sale (date, billno, partycode) Values (" & _
  12.            "'" & lstSel.Text & "', " & _
  13.            "'" & lstSel.SubItems(1) & "', " & _
  14.            lstSel.SubItems(2) & ")"
  15.   conDataConnection.Execute strSQL
  16. Next
  17.   conDataConnection.Close
  18.   Set conDataConnection = Nothing
Jan 5 '11 #1
1 2136
debasisdas
8,127 Expert 4TB
you need to check for the following
ListView1.LisItems

Is that a property / method / event of the control ?
Jan 5 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Sundial Services | last post by:
I recently brought an old application out of mothballs and launched it under PHP5, only to get this message: Fatal Error: Class '1' not found It was clearly somehow an /execution/ time...
5
by: J. Muenchbourg | last post by:
The field name 'articleid', which is an identity/primary key , is not being recognized in my recordset as I get an " Item cannot be found in the collection corresponding to the requested name or...
2
by: Andreas Prilop | last post by:
Trying to validate stylesheets with <http://jigsaw.w3.org/css-validator/> I get no errors with "profile=none"...
1
by: Karl Irvin | last post by:
On some customers computers, my custom menus are overwritten. On a menu with seveal choices, my choices are replaced with a single "Other....." and when this is clicked, a message pops up and says...
3
by: Steve Lutz | last post by:
Hi All, I have a Windows Service that runs well. The service hosts a remote object. The purpose of the object is so that I can "peak" into the service to see what it's doing. I wrote a small...
5
by: theyas | last post by:
Windows XP SP2 + Symantec AV + VS 2003 with .NET Framework 1.1 IIS won't load or run existing ASP.NET applications and VS can't create or load web projects (HTTP/1.1 500 Server Error). Event...
1
by: Sam | last post by:
Hello, I've installed matplotlib recently because I want to add graphing functionality to a GUI that i'm making. I decided to try using the wxAgg backend instead of plain old wx because: a) I...
0
by: veaux | last post by:
I see a few references to the above error, but haven't found why it may be happening in my case. Have an Access 2003 DB and am trying to import a text file into a new table. I'm just using the text...
0
by: RCM | last post by:
I am really eager to quit the Microsoft world and get into LAMP. For the immediate future I can't do the Apache part, so I am at least trying to get PHP up and running under IIS to learn it. I...
5
by: Sendil kumar | last post by:
Hi All, The FtpWebRequest.GetResponse( ) method is not giving "550 File not found exception " when I do a directory list operation on a invalid(not present) directory in HP Unix and Sun Solaris...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.