|
-
May 5th, 2002, 10:58 AM
#1
I don't know ADO, only DAO (I heard they are pretty similar in concept).
Could it be that the MoveLast call in GetNewKey screws something up? Will m_rsRecSet be altered when you call m_pRs->MoveLast? And why don't you use the excellent DAO support in MFC?
BTW, you should use _tcscpy when working with windows, just like you should always use TCHAR instead of char and wrap all strings with _T("string"). This makes it easy to convert your app to UNICODE support. (Far better language support for strange character sets (Greek, Russian, Japanese, ...) and slightly better performance on WinNT, required for WinCE)
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|