RDO error when upgrading from SQL 6.5 to SQL 7.0 
Author Message
 RDO error when upgrading from SQL 6.5 to SQL 7.0

I have a call to a stored procedure that worked fine when connecting
to a SQL 6.5 server, but returns a RDO Error Number 40041 when looking
at the same DB in SQL 7.0.

Here is the portion of code that causes the error:

Two Forms (Main and frmLogin) and a stored procedure

Main:  
  Public g_ucDB As New AtechSP   (Project Designers stored procedures)

frmLogin:
  Dim rs As rdoRecordset
  Dim strServerDate As String

  Set rs = Main.g_ucDB.rdoQueries!ati_get_current_server_date.OpenResultset()
  strServerDate = rs("serverdate")

ati_get_current_server_date:
  select convert(varchar(10), getdate(), 101)  
  serverdate

Stepping through the code I found it dies on the Set rs line.

I know there are other ways to get a date, but this type of code is
used throughout the application, so if there is a way to get this line
to work, it should help on all the others.

Thanks in advance for any help.
Dean Bushy



Mon, 15 Dec 2003 23:53:20 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Upsizing SQL 6.5 to SQL 7.0

2. New Transact-SQL Debugger for Microsoft SQL Server 6.5/7.0

3. USing ASP migrating from SQL 6.5 to SQL 7.0

4. Migrating from SQL 6.5 to SQL 7.0

5. SQL Debugger for Microsoft SQL Server 7.0 and 6.5

6. SQL 6.5 upgrade error

7. ODBC error after upgrading to Microsoft SQL server 6.5

8. RDO-->SQL 6.5. GetChunk S1109 error

9. MS SQL 6.5 / 7.0 / 2K

10. Differences between SQL 6.5 & 7.0 with ADO

11. Differences between SQL 6.5 & 7.0 with ADO

12. Connecting to SQL Server 6.5 and 7.0

 

 
Powered by phpBB® Forum Software