Click here to Skip to main content
15,919,613 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralBest way to scroll a control Pin
0v3rloader19-Jul-04 1:48
0v3rloader19-Jul-04 1:48 
Generalprob in displaying and deleting text in a view Pin
aarti vimal19-Jul-04 1:31
aarti vimal19-Jul-04 1:31 
GeneralRe: prob in displaying and deleting text in a view Pin
V.19-Jul-04 2:02
professionalV.19-Jul-04 2:02 
GeneralRe: prob in displaying and deleting text in a view Pin
Ravi Bhavnani19-Jul-04 2:44
professionalRavi Bhavnani19-Jul-04 2:44 
GeneralRe: prob in displaying and deleting text in a view Pin
aarti vimal19-Jul-04 22:39
aarti vimal19-Jul-04 22:39 
Generalneed help!!!! Pin
**bamboo**19-Jul-04 1:03
**bamboo**19-Jul-04 1:03 
GeneralRe: need help!!!! Pin
vikram attiganal19-Jul-04 1:22
vikram attiganal19-Jul-04 1:22 
GeneralCareful with CRecordset::GetRecordCount() Pin
Alexander Wiseman19-Jul-04 6:01
Alexander Wiseman19-Jul-04 6:01 
Vikram,

You need to be careful if you are suggesting to use CRecordset's GetRecordCount() function. According to MSDN, this function only returns the number of seen records in the set. So, right after opening the set, the function will return only 1. You would want to execute another SQL query that counts the records in the resulting set using the COUNT aggregate, or (more inefficiently) loop through the recordset with CRecordset, and then call GetRecordCount().

If your suggestion did not depend upon CRecordset, this, of course, doesn't matter.

Sincerely,
Alexander Wiseman

Est melior esse quam videri
It is better to be than to seem
GeneralRe: Careful with CRecordset::GetRecordCount() Pin
BlackDice20-Jul-04 3:26
BlackDice20-Jul-04 3:26 
GeneralRe: Careful with CRecordset::GetRecordCount() Pin
Alexander Wiseman20-Jul-04 5:06
Alexander Wiseman20-Jul-04 5:06 
GeneralRe: Careful with CRecordset::GetRecordCount() Pin
BlackDice20-Jul-04 8:22
BlackDice20-Jul-04 8:22 
GeneralRe: need help!!!! Pin
BlackDice19-Jul-04 2:39
BlackDice19-Jul-04 2:39 
GeneralGetting All URLs in the History Folder Pin
Liger_Zero_X19-Jul-04 0:13
Liger_Zero_X19-Jul-04 0:13 
GeneralRe: Getting All URLs in the History Folder Pin
David Crow19-Jul-04 3:05
David Crow19-Jul-04 3:05 
QuestionAre these COORDinates they're talking about or SIZEs? Pin
0v3rloader19-Jul-04 0:13
0v3rloader19-Jul-04 0:13 
AnswerRe: Are these COORDinates they're talking about or SIZEs? Pin
Toni7819-Jul-04 4:24
Toni7819-Jul-04 4:24 
AnswerRe: Are these COORDinates they're talking about or SIZEs? Pin
Johan Rosengren19-Jul-04 4:25
Johan Rosengren19-Jul-04 4:25 
GeneralRe: Are these COORDinates they're talking about or SIZEs? Pin
0v3rloader19-Jul-04 7:46
0v3rloader19-Jul-04 7:46 
GeneralRe: Are these COORDinates they're talking about or SIZEs? Pin
Toni7819-Jul-04 8:46
Toni7819-Jul-04 8:46 
GeneralRe: Are these COORDinates they're talking about or SIZEs? Pin
Johan Rosengren19-Jul-04 21:40
Johan Rosengren19-Jul-04 21:40 
GeneralRe: Are these COORDinates they're talking about or SIZEs? Pin
Toni7821-Jul-04 8:36
Toni7821-Jul-04 8:36 
GeneralRe: Are these COORDinates they're talking about or SIZEs? Pin
Johan Rosengren19-Jul-04 21:49
Johan Rosengren19-Jul-04 21:49 
GeneralFinding a file Pin
Anonymous19-Jul-04 0:07
Anonymous19-Jul-04 0:07 
GeneralRe: Finding a file Pin
vikram attiganal19-Jul-04 0:20
vikram attiganal19-Jul-04 0:20 
GeneralRe: Finding a file Pin
Anonymous19-Jul-04 0:37
Anonymous19-Jul-04 0:37 

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.