Click here to Skip to main content
15,884,473 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionProblem retrieving fields from a DB using CRecordset object Pin
Cyber Friend31-May-06 5:40
Cyber Friend31-May-06 5:40 
QuestionRe: Problem retrieving fields from a DB using CRecordset object Pin
David Crow31-May-06 5:48
David Crow31-May-06 5:48 
AnswerRe: Problem retrieving fields from a DB using CRecordset object Pin
Cyber Friend31-May-06 5:57
Cyber Friend31-May-06 5:57 
GeneralRe: Problem retrieving fields from a DB using CRecordset object Pin
David Crow31-May-06 6:01
David Crow31-May-06 6:01 
GeneralRe: Problem retrieving fields from a DB using CRecordset object Pin
Cyber Friend31-May-06 23:11
Cyber Friend31-May-06 23:11 
AnswerRe: Problem retrieving fields from a DB using CRecordset object Pin
Cyber Friend31-May-06 23:21
Cyber Friend31-May-06 23:21 
GeneralRe: Problem retrieving fields from a DB using CRecordset object Pin
Cyber Friend1-Jun-06 0:59
Cyber Friend1-Jun-06 0:59 
GeneralRe: Problem retrieving fields from a DB using CRecordset object Pin
David Crow1-Jun-06 2:54
David Crow1-Jun-06 2:54 
Cyber Friend wrote:
Does it mean that Recordset is empty?


Possibly.

Cyber Friend wrote:
While when I checked the Recordset object using

short nFields = rs.GetODBCFieldCount( );
it returned 1.


Columns (fields) are not the same thing as rows. A table typicaly has several columns, but could easily be empty (no rows) if no data has been entered.


"The largest fire starts but with the smallest spark." - David Crow


QuestionModeless Dialogs? or Distroy Dialogs? Pin
aei_totten31-May-06 4:47
aei_totten31-May-06 4:47 
AnswerRe: Modeless Dialogs? or Distroy Dialogs? Pin
David Crow31-May-06 5:06
David Crow31-May-06 5:06 
GeneralRe: Modeless Dialogs? or Distroy Dialogs? Pin
aei_totten31-May-06 5:28
aei_totten31-May-06 5:28 
GeneralRe: Modeless Dialogs? or Distroy Dialogs? Pin
David Crow31-May-06 5:52
David Crow31-May-06 5:52 
QuestionRegister a TLB file? Pin
Ista31-May-06 4:33
Ista31-May-06 4:33 
AnswerRe: Register a TLB file? Pin
Sarath C31-May-06 4:40
Sarath C31-May-06 4:40 
AnswerRe: Register a TLB file? Pin
James R. Twine31-May-06 4:44
James R. Twine31-May-06 4:44 
AnswerRe: Register a TLB file? Pin
Roger Stoltz31-May-06 5:07
Roger Stoltz31-May-06 5:07 
GeneralRe: Register a TLB file? Pin
Ista31-May-06 5:33
Ista31-May-06 5:33 
GeneralRe: Register a TLB file? Pin
Roger Stoltz31-May-06 6:25
Roger Stoltz31-May-06 6:25 
GeneralRe: Register a TLB file? Pin
Ista31-May-06 7:47
Ista31-May-06 7:47 
AnswerRe: Register a TLB file? Pin
V.31-May-06 8:38
professionalV.31-May-06 8:38 
GeneralRe: Register a TLB file? Pin
Ista31-May-06 8:45
Ista31-May-06 8:45 
GeneralRe: Register a TLB file? [modified] Pin
V.31-May-06 8:57
professionalV.31-May-06 8:57 
GeneralRe: Register a TLB file? [modified] Pin
Ista31-May-06 9:00
Ista31-May-06 9:00 
QuestionIllegal Instruction Pin
Russell'31-May-06 3:22
Russell'31-May-06 3:22 
AnswerRe: Illegal Instruction Pin
Chris Losinger31-May-06 3:28
professionalChris Losinger31-May-06 3:28 

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.