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
Solved

vb6 error - Run-time error '3265':

Posted on 2014-02-17
3
472 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!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

856 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