Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Warning from CRecordset

Status
Not open for further replies.

john0532

Programmer
Jul 2, 2002
27
US
Using MSVC++ 6.0 and SQL Server 2000. I let the wizard create the CRecordset for a table. When I do a CRecordset::Open() it throws an exception. I stepped through it with the debugger and found I was getting warnings when calling the RFX_* functions. The first 9 are RFX_Text() calls and there are no warnings but after that it falls apart starting with a call to RFX_Date(). I get:

Warning: CTime converted from SQL type 12

After that I get warnings on each field ranging from SQL type -12851 to 26925

Does anybody know what these type numbers indicate and what might be causing this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top