Solved

vb6 error - Run-time error '3265':

Posted on 2014-02-17
3
462 Views
Last Modified: 2014-02-17
When I run a system we have that is written in VB6 and interacts with SQL Server 2008 R2, the error below occurs when trying to change a user password through he VB6 system.
Has anyone encountered this error before?  Any ideas on what causes this error? What should I check to resolve this problem?
Please see the attached file for screen shots and further clarification.
Thanks in advance for any help.

-Utilities
-Change Password
--Enter Password info
VB error occurs…
Run-time error ‘3265’:
Item cannot be found in the collection corresponding to the requested name or ordinal.

See screen shots below…
3265-run-time-error-screen-shot.docx
0
Comment
Question by:tesla764
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
advfinance earned 500 total points
ID: 39865071
You've referenced a field that doesn't exist in your record set.

e.g. "SELECT Field1 FROM Table1"

Then later:

rs.Fields("Field2").Value

You'll get that error there.

Does that point you in the right direction?

--
Chris

(PS: You might want to consider posting your screenshots as images, not docx files. More people might view them.)
0
 

Author Comment

by:tesla764
ID: 39865078
Possibly, I will check that out and let you know.
Thanks Chris
0
 

Author Closing Comment

by:tesla764
ID: 39865257
Thanks Chris. Your suggestion helped me fix the problem.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Interview questions for support of a legacy ASP.NET site 4 56
VS2015 Redefinition errors 4 49
Store results in vb.net 3 20
DataTables + iCheck + pagination Issue 2 16
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question