Click here to Skip to main content
15,890,185 members
Home / Discussions / Database
   

Database

 
AnswerRe: managing access to multiple stand alone installations Pin
SilimSayo19-Dec-11 3:32
SilimSayo19-Dec-11 3:32 
AnswerRe: managing access to multiple stand alone installations Pin
bsdtux19-Dec-11 5:02
bsdtux19-Dec-11 5:02 
Questionhow i can automatically create an new Excel file once a new day using the C#? Pin
pingping li18-Dec-11 16:21
pingping li18-Dec-11 16:21 
AnswerRe: how i can automatically create an new Excel file once a new day using the C#? Pin
Richard MacCutchan18-Dec-11 23:42
mveRichard MacCutchan18-Dec-11 23:42 
Questiony this query answer wrong ? Pin
williamroma16-Dec-11 7:40
williamroma16-Dec-11 7:40 
AnswerRe: y this query answer wrong ? Pin
AmitGajjar17-Dec-11 7:53
professionalAmitGajjar17-Dec-11 7:53 
AnswerRe: y this query answer wrong ? Pin
coded00718-Dec-11 0:16
professionalcoded00718-Dec-11 0:16 
QuestionCRecorset fails to retrive fields when there is only one record in recordset. Pin
Vaclav_15-Dec-11 9:51
Vaclav_15-Dec-11 9:51 
I am having an issue with retrieving fields from MFC CRecordset.
I am using GetFieldValue( index, strText );
Works fine until the opened recordset contains only one record. Than I get the first field OK, but then I get an error saying basically that the field has already been retrieved.

Here it the error:
Error: GetFieldValue operation failed on field %d.
Data already fetched for this field.

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.
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.

I am using VC 6.0 MFC with standard CRecordset and Access database with ODBC.

So far Google is no help.
Any pointers would be greatly appreciated.
Thanks for your help.
Vaclav
AnswerRe: CRecorset fails to retrive fields when there is only one record in recordset. Pin
SilimSayo16-Dec-11 0:01
SilimSayo16-Dec-11 0:01 
AnswerRe: CRecorset fails to retrive fields when there is only one record in recordset. Pin
bsdtux19-Dec-11 5:39
bsdtux19-Dec-11 5:39 
GeneralRe: CRecorset fails to retrive fields when there is only one record in recordset. Pin
Vaclav_19-Dec-11 7:11
Vaclav_19-Dec-11 7:11 
QuestionStored procedures with booleans leading to different data types. Pin
D Hoffman14-Dec-11 11:33
D Hoffman14-Dec-11 11:33 
AnswerRe: Stored procedures with booleans leading to different data types. Pin
SilimSayo14-Dec-11 12:58
SilimSayo14-Dec-11 12:58 
AnswerRe: Stored procedures with booleans leading to different data types. Pin
coded00715-Dec-11 2:50
professionalcoded00715-Dec-11 2:50 
AnswerRe: Stored procedures with booleans leading to different data types. Pin
Eddy Vluggen18-Dec-11 2:28
professionalEddy Vluggen18-Dec-11 2:28 
GeneralRe: Stored procedures with booleans leading to different data types. Pin
D Hoffman17-Jan-12 1:35
D Hoffman17-Jan-12 1:35 
QuestionConverting from Access to MSDE 2000 Pin
Member 801739614-Dec-11 4:47
Member 801739614-Dec-11 4:47 
AnswerRe: Converting from Access to MSDE 2000 Pin
Corporal Agarn14-Dec-11 9:17
professionalCorporal Agarn14-Dec-11 9:17 
QuestionEquivalent in MS Sql Pin
Hum Dum13-Dec-11 22:51
Hum Dum13-Dec-11 22:51 
AnswerRe: Equivalent in MS Sql Pin
Geoff Williams14-Dec-11 0:17
Geoff Williams14-Dec-11 0:17 
AnswerRe: Equivalent in MS Sql Pin
Shameel14-Dec-11 2:28
professionalShameel14-Dec-11 2:28 
GeneralRe: Equivalent in MS Sql Pin
SilimSayo14-Dec-11 2:51
SilimSayo14-Dec-11 2:51 
GeneralRe: Equivalent in MS Sql Pin
jschell14-Dec-11 9:26
jschell14-Dec-11 9:26 
GeneralRe: Equivalent in MS Sql Pin
Shameel15-Dec-11 7:27
professionalShameel15-Dec-11 7:27 
GeneralRe: Equivalent in MS Sql Pin
SilimSayo15-Dec-11 11:00
SilimSayo15-Dec-11 11:00 

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.