Click here to Skip to main content
15,890,717 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: MFC (database) please help ! Pin
Milton Karimbekallil15-Aug-06 22:34
Milton Karimbekallil15-Aug-06 22:34 
QuestionRe: MFC (database) please help ! Pin
Bravoone_200615-Aug-06 23:22
Bravoone_200615-Aug-06 23:22 
AnswerRe: MFC (database) please help ! Pin
Bravoone_200615-Aug-06 23:28
Bravoone_200615-Aug-06 23:28 
GeneralRe: MFC (database) please help ! Pin
Milton Karimbekallil16-Aug-06 0:54
Milton Karimbekallil16-Aug-06 0:54 
AnswerRe: MFC (database) please help ! Pin
kakan15-Aug-06 23:29
professionalkakan15-Aug-06 23:29 
AnswerRe: MFC (database) please help ! Pin
Bravoone_200615-Aug-06 23:40
Bravoone_200615-Aug-06 23:40 
GeneralRe: MFC (database) please help ! Pin
Bravoone_200615-Aug-06 23:41
Bravoone_200615-Aug-06 23:41 
GeneralRe: MFC (database) please help ! [modified] Pin
kakan15-Aug-06 23:51
professionalkakan15-Aug-06 23:51 
I Googled around for "CRecordset slow" and found this at http://forums.mysql.com/read.php?45,99701,99721#msg-99721[^]

The text:
Resolved:

Apparently, for whatever reason, Microsoft's CRecordset C/C++ class is literally copying the entire table over to the local client with the CRecordset::Open function.

This is probably why the original coders were using a dynaset when we were using MSACCESS, but when I switched over to MYSQL, dynaset's were not supported with the MySQL/ODBC drivers so I used snapshots instead.

I changed the logic to use a direct SQL command and its lightning fast now.

Try my Google search (and variations). I guess you will find the reason (and the solution) of your problems.


-- modified at 5:52 Wednesday 16th August, 2006
Don't ask me how to run a direct SQL query from your program, Iv'e never done it. But there is heaps of samples out there.
QuestionRe: MFC (database) please help ! Pin
Bravoone_200616-Aug-06 2:58
Bravoone_200616-Aug-06 2:58 
QuestionRe: MFC (database) please help ! Pin
David Crow16-Aug-06 3:22
David Crow16-Aug-06 3:22 
QuestionRe: MFC (database) please help ! Pin
David Crow16-Aug-06 3:18
David Crow16-Aug-06 3:18 
AnswerRe: MFC (database) please help ! Pin
Hamid_RT16-Aug-06 5:25
Hamid_RT16-Aug-06 5:25 
GeneralRe: MFC (database) please help ! Pin
David Crow16-Aug-06 6:09
David Crow16-Aug-06 6:09 
AnswerRe: MFC (database) please help ! Pin
Hamid_RT16-Aug-06 5:25
Hamid_RT16-Aug-06 5:25 
QuestionPointer t o the array of objects Pin
Kiran Pinjala15-Aug-06 21:25
Kiran Pinjala15-Aug-06 21:25 
AnswerRe: Pointer t o the array of objects [modified] Pin
Nibu babu thomas15-Aug-06 21:35
Nibu babu thomas15-Aug-06 21:35 
GeneralRe: Pointer t o the array of objects Pin
Hamid_RT15-Aug-06 21:40
Hamid_RT15-Aug-06 21:40 
AnswerRe: Pointer t o the array of objects Pin
Hamid_RT15-Aug-06 21:38
Hamid_RT15-Aug-06 21:38 
AnswerRe: Pointer t o the array of objects Pin
David Crow16-Aug-06 3:27
David Crow16-Aug-06 3:27 
Questionremove border form flat button Pin
Tara1415-Aug-06 20:42
Tara1415-Aug-06 20:42 
AnswerRe: remove border form flat button Pin
prasad_som15-Aug-06 23:23
prasad_som15-Aug-06 23:23 
AnswerRe: remove border form flat button Pin
Hamid_RT16-Aug-06 5:24
Hamid_RT16-Aug-06 5:24 
GeneralRe: remove border form flat button Pin
Tara1416-Aug-06 23:10
Tara1416-Aug-06 23:10 
GeneralRe: remove border form flat button Pin
Hamid_RT17-Aug-06 0:08
Hamid_RT17-Aug-06 0:08 
QuestionDestructor not working ? Pin
jalsa G15-Aug-06 20:24
jalsa G15-Aug-06 20:24 

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.