ADO recordset, Oracle and Windows2000



I manage a project that has an application written in VB6. It was originally
developed for an NT platform, but has been residing on Windows 2000 Pro for
several months now. There have been no problems connecting to and retrieving
data from the Oracle 9i database.

Just recently, the developer changed the app so that it now uses ADO
controls (it was using RDO). When stepping through the code we found that
the initial query is only retrieving "64" records, no matter what parameters
are put in the SQL statement. And when it gets to the "rs.MoveNext"
statement, an error is raised that states:

-2147217906 [Oracle][ODBC]Invalid bookmark value.

Here are portions of the source code:
***********
Public ActiveConn as New ADODB.connection
Dim rs as New ADODB.recordset

NotamSQL = "select * from notam_view where NOTAM_ORIGIN_DTG >=
'200526051200' and NOTAM_ORIGIN_DTG < '200526051300' order by NOTAM_ID"

rs.Open NotamSQL, ActiveConn, adOpenKeyset
************

The exact same code (with the ADO controls) works fine on the WindowsNT
platform. We have tried everything including replacing DLLs on the 2000
machine, but nothing has solved the problem.

Does anyone know...what are we missing/not seeing with regard to the ADO
controls?

Thanks,
FrustratedLead
.



Relevant Pages

  • Re: windows mobile 2003 barcode scanning
    ... First, I'm a developer who supports bar codes in my applications, and ... I rely on keyboard wedges provided by the reader vendors. ... barcode scanners running Windows Mobile for a client. ... that the platform is an issue. ...
    (microsoft.public.pocketpc)
  • Re: TIP #172: Improve UNIX Tk Look and Feel
    ... > platform. ... Windows in the same-look-and-feel manner. ... To do a good port, ... But once I do that, as a developer, I can't see how I could ever be ...
    (comp.lang.tcl)
  • Re: RealBasic?
    ... that could be used on about any platform before. ... mistaken) impression that most controls were written in C/C++. ... ActiveX technologies rely on various Windows API functions which are hidden ...
    (microsoft.public.vb.general.discussion)
  • Re: 64-bit G5?
    ... Apple is still defining their platform. ... Windows users will probably buy more ... I like receiving Apple Developer Connection CDs in the ...
    (comp.lang.lisp)
  • Re: RealBasic?
    ... controls that could be used on about any platform before. ... ActiveX one so it only does Windows? ...
    (microsoft.public.vb.general.discussion)