Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

vb6 error - Run-time error '3265':

Posted on 2014-02-17
3
Medium Priority
?
496 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
advfinance earned 2000 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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

722 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