Click here to Skip to main content
15,909,953 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCRecordset fails to retrieve fileds when only one record is in the recordset .SOLVED ?? Pin
Vaclav_16-Dec-11 6:30
Vaclav_16-Dec-11 6:30 
AnswerRe: CRecordset fails to retrieve fileds when only one record is in the recordset . Pin
Richard MacCutchan16-Dec-11 7:10
mveRichard MacCutchan16-Dec-11 7:10 
GeneralRe: CRecordset fails to retrieve fileds when only one record is in the recordset . Pin
Vaclav_16-Dec-11 8:15
Vaclav_16-Dec-11 8:15 
GeneralRe: CRecordset fails to retrieve fileds when only one record is in the recordset . Pin
bsdtux19-Dec-11 8:29
bsdtux19-Dec-11 8:29 
GeneralRe: CRecordset fails to retrieve fileds when only one record is in the recordset . Pin
Vaclav_19-Dec-11 8:38
Vaclav_19-Dec-11 8:38 
GeneralRe: CRecordset fails to retrieve fileds when only one record is in the recordset . Pin
Vaclav_16-Dec-11 8:53
Vaclav_16-Dec-11 8:53 
GeneralRe: CRecordset fails to retrieve fileds when only one record is in the recordset . Pin
Vaclav_16-Dec-11 9:40
Vaclav_16-Dec-11 9:40 
QuestionRe: CRecordset fails to retrieve fileds when only one record is in the recordset .SOLVED ?? Pin
David Crow18-Dec-11 17:28
David Crow18-Dec-11 17:28 
Vaclav_Sal wrote:
It seem that the field index is not being advanced.I stepped thru the GetFieldValue,
but cannot find the actuall source for the error routine.

Have you looked at CRecordset::GetData() in dbcore.cpp?

Vaclav_Sal wrote:
If I do MoveFirst on this one record record set , I get an error that I am attempting to move past the beginning of the recordset.That would be expected.

So do you need to call IsBOF() first?

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous



modified 19-Dec-11 8:19am.

AnswerRe: CRecordset fails to retrieve fileds when only one record is in the recordset .SOLVED ?? Pin
Vaclav_18-Dec-11 17:56
Vaclav_18-Dec-11 17:56 
QuestionRe: CRecordset fails to retrieve fileds when only one record is in the recordset .SOLVED ?? Pin
David Crow19-Dec-11 2:12
David Crow19-Dec-11 2:12 
AnswerRe: CRecordset fails to retrieve fileds when only one record is in the recordset .SOLVED ?? Pin
Vaclav_19-Dec-11 4:40
Vaclav_19-Dec-11 4:40 
QuestionHow to access application's extern variable inside a dll Pin
rahul.kulshreshtha15-Dec-11 19:57
rahul.kulshreshtha15-Dec-11 19:57 
AnswerRe: How to access application's extern variable inside a dll Pin
CPallini15-Dec-11 21:32
mveCPallini15-Dec-11 21:32 
GeneralRe: How to access application's extern variable inside a dll Pin
rahul.kulshreshtha16-Dec-11 3:51
rahul.kulshreshtha16-Dec-11 3:51 
GeneralRe: How to access application's extern variable inside a dll Pin
CPallini16-Dec-11 5:27
mveCPallini16-Dec-11 5:27 
GeneralRe: How to access application's extern variable inside a dll Pin
rahul.kulshreshtha16-Dec-11 5:46
rahul.kulshreshtha16-Dec-11 5:46 
AnswerRe: How to access application's extern variable inside a dll Pin
Erudite_Eric16-Dec-11 0:40
Erudite_Eric16-Dec-11 0:40 
GeneralRe: How to access application's extern variable inside a dll Pin
rahul.kulshreshtha16-Dec-11 3:53
rahul.kulshreshtha16-Dec-11 3:53 
AnswerRe: How to access application's extern variable inside a dll Pin
Chris Losinger16-Dec-11 4:16
professionalChris Losinger16-Dec-11 4:16 
GeneralRe: How to access application's extern variable inside a dll Pin
rahul.kulshreshtha16-Dec-11 5:22
rahul.kulshreshtha16-Dec-11 5:22 
GeneralRe: How to access application's extern variable inside a dll Pin
Richard MacCutchan16-Dec-11 7:04
mveRichard MacCutchan16-Dec-11 7:04 
GeneralRe: How to access application's extern variable inside a dll Pin
Chris Losinger16-Dec-11 8:03
professionalChris Losinger16-Dec-11 8:03 
GeneralRe: How to access application's extern variable inside a dll Pin
Richard MacCutchan16-Dec-11 22:42
mveRichard MacCutchan16-Dec-11 22:42 
QuestionWhich function can I use instead of ShowControlBar Pin
adityarao3115-Dec-11 19:42
adityarao3115-Dec-11 19:42 
AnswerRe: Which function can I use instead of ShowControlBar Pin
Resmi Anna15-Dec-11 21:45
Resmi Anna15-Dec-11 21:45 

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.