Click here to Skip to main content
15,889,867 members
Home / Discussions / Database
   

Database

 
AnswerRe: Recordset Open method error IDispatch error #3121 Pin
Farhan Noor Qureshi29-Nov-05 12:04
Farhan Noor Qureshi29-Nov-05 12:04 
GeneralRe: Recordset Open method error IDispatch error #3121 Pin
flyflyfly30-Nov-05 6:42
flyflyfly30-Nov-05 6:42 
GeneralRe: Recordset Open method error IDispatch error #3121 Pin
Farhan Noor Qureshi30-Nov-05 7:48
Farhan Noor Qureshi30-Nov-05 7:48 
GeneralRe: Recordset Open method error IDispatch error #3121 Pin
flyflyfly30-Nov-05 8:30
flyflyfly30-Nov-05 8:30 
GeneralRe: Recordset Open method error IDispatch error #3121 Pin
Farhan Noor Qureshi30-Nov-05 9:04
Farhan Noor Qureshi30-Nov-05 9:04 
GeneralRe: Recordset Open method error IDispatch error #3121 Pin
flyflyfly1-Dec-05 6:24
flyflyfly1-Dec-05 6:24 
GeneralRe: Recordset Open method error IDispatch error #3121 Pin
Farhan Noor Qureshi1-Dec-05 7:17
Farhan Noor Qureshi1-Dec-05 7:17 
AnswerRe: Recordset Open method error IDispatch error #3121 Pin
S Douglas30-Nov-05 22:38
professionalS Douglas30-Nov-05 22:38 
Might have been just an error in your explanation but, your old table name was “datatable” right? This table was deleted after backing up the data right?

Could the problem be you failed to update your open command? It looks like your attempting to open a connection to the old table.

rs->Open("DataTable", _variant_t((IDispatch *)conn,true), adOpenKeyset, adLockOptimistic,adCmdTable);

Anther shot in the dark here, is your autonumber column a 32 bit int? How many rows do you have in that table?
int

Integer (whole number) data from -2^31 (-2,147,483,648) through 2^31 - 1 (2,147,483,647).




ZeePain! wrote:
This seems like one of those programs that started small, grew incrementally, building internal pressure, and finally barfed all over its source code sneakers. Or something.

thedailywtf.com[^]
GeneralRe: Recordset Open method error IDispatch error #3121 Pin
flyflyfly1-Dec-05 6:19
flyflyfly1-Dec-05 6:19 
GeneralRe: Recordset Open method error IDispatch error #3121 Pin
Farhan Noor Qureshi1-Dec-05 7:20
Farhan Noor Qureshi1-Dec-05 7:20 
GeneralRe: Recordset Open method error IDispatch error #3121 Pin
flyflyfly1-Dec-05 7:49
flyflyfly1-Dec-05 7:49 
GeneralRe: Recordset Open method error IDispatch error #3121 Pin
Farhan Noor Qureshi1-Dec-05 8:55
Farhan Noor Qureshi1-Dec-05 8:55 
QuestionFailed to compare Time portion of DateTime when read ACCESS database Pin
Roman Muntyanu29-Nov-05 8:35
Roman Muntyanu29-Nov-05 8:35 
QuestionMSDE and SQL SErver Express 2005 Pin
inphone29-Nov-05 4:52
inphone29-Nov-05 4:52 
AnswerRe: MSDE and SQL SErver Express 2005 Pin
Paul Conrad29-Nov-05 5:07
professionalPaul Conrad29-Nov-05 5:07 
QuestionInserting a record into a database with a front web form Pin
bhumber29-Nov-05 1:45
bhumber29-Nov-05 1:45 
AnswerRe: Inserting a record into a database with a front web form Pin
dwatkins@dirq.net29-Nov-05 11:06
dwatkins@dirq.net29-Nov-05 11:06 
QuestionWorking with only Time in Sql? Pin
majidbhutta29-Nov-05 1:00
majidbhutta29-Nov-05 1:00 
AnswerRe: Working with only Time in Sql? Pin
Farhan Noor Qureshi29-Nov-05 12:01
Farhan Noor Qureshi29-Nov-05 12:01 
QuestionSELECT @@IDENTITY doesn't work Pin
AndySummer28-Nov-05 22:27
AndySummer28-Nov-05 22:27 
AnswerRe: SELECT @@IDENTITY doesn't work Pin
Frank Kerrigan28-Nov-05 22:42
Frank Kerrigan28-Nov-05 22:42 
QuestionIs this Possible in sql? Pin
majidbhutta28-Nov-05 5:50
majidbhutta28-Nov-05 5:50 
AnswerRe: Is this Possible in sql? Pin
Farhan Noor Qureshi28-Nov-05 10:53
Farhan Noor Qureshi28-Nov-05 10:53 
QuestionWhich one is faster and recommended Pin
dabuskol28-Nov-05 1:12
dabuskol28-Nov-05 1:12 
AnswerRe: Which one is faster and recommended Pin
Farhan Noor Qureshi28-Nov-05 11:02
Farhan Noor Qureshi28-Nov-05 11:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.