Click here to Skip to main content
15,902,840 members
Home / Discussions / Database
   

Database

 
QuestionCorrect way of databinding of foreign key? Pin
TrooperIronMan26-Jan-07 8:32
TrooperIronMan26-Jan-07 8:32 
QuestionUpdate Query using more than one table Pin
sayianjin26-Jan-07 5:55
sayianjin26-Jan-07 5:55 
AnswerRe: Update Query using more than one table Pin
andyharman26-Jan-07 7:25
professionalandyharman26-Jan-07 7:25 
QuestionCross databae table relation ship Pin
TUX2K25-Jan-07 23:37
TUX2K25-Jan-07 23:37 
QuestionConvert getdate() Pin
javierarka25-Jan-07 10:59
javierarka25-Jan-07 10:59 
AnswerRe: Convert getdate() Pin
andyharman25-Jan-07 22:49
professionalandyharman25-Jan-07 22:49 
AnswerRe: Convert getdate() Pin
Szemi9025-Jan-07 22:59
Szemi9025-Jan-07 22:59 
QuestionCDaoDatabase Create Field Pin
DKScherpy25-Jan-07 9:58
DKScherpy25-Jan-07 9:58 
Ok, I have a concurrency problem (I think) while trying to create a field using CDaoDatabase & CDaoRecordset.

Long and short of it is that I need to create a field in an access database while still keeping a recordset that is connected to the table open. When I create the field using the following code:

CDaoTableDef tableDef(&m_daoDB);<br />
		tableDef.Open(sTableName);<br />
		tableDef.CreateField(newField);


I also have a recordset open on the same table. The last line throws an exception with a message: The database engine could not lock table 'Test Datatypes' because it is already in use by another person or process.

Any help or thoughts on that would be wonderful. Thanks in advance.
QuestionIncrement Field Value Pin
achimera25-Jan-07 9:39
achimera25-Jan-07 9:39 
AnswerRe: Increment Field Value Pin
PIEBALDconsult25-Jan-07 9:55
mvePIEBALDconsult25-Jan-07 9:55 
GeneralRe: Increment Field Value Pin
achimera25-Jan-07 10:06
achimera25-Jan-07 10:06 
Questioncall function from select join Pin
montu337725-Jan-07 3:51
montu337725-Jan-07 3:51 
AnswerRe: call function from select join Pin
Paddy Boyd25-Jan-07 4:29
Paddy Boyd25-Jan-07 4:29 
QuestionSCOPE_IDENTITY() Always Returning 1 Pin
Farm Developer25-Jan-07 0:43
Farm Developer25-Jan-07 0:43 
AnswerRe: SCOPE_IDENTITY() Always Returning 1 Pin
Jon Sagara25-Jan-07 10:23
Jon Sagara25-Jan-07 10:23 
GeneralRe: SCOPE_IDENTITY() Always Returning 1 Pin
Farm Developer25-Jan-07 21:42
Farm Developer25-Jan-07 21:42 
GeneralRe: SCOPE_IDENTITY() Always Returning 1 Pin
Jon Sagara26-Jan-07 1:52
Jon Sagara26-Jan-07 1:52 
AnswerRe: SCOPE_IDENTITY() Always Returning 1 Pin
Farm Developer26-Jan-07 4:09
Farm Developer26-Jan-07 4:09 
QuestionProblem In Multi Conditioned SQL: Pin
Shahzad.Aslam24-Jan-07 22:14
Shahzad.Aslam24-Jan-07 22:14 
AnswerRe: Problem In Multi Conditioned SQL: Pin
Parwej Ahamad24-Jan-07 22:27
professionalParwej Ahamad24-Jan-07 22:27 
AnswerRe: Problem In Multi Conditioned SQL: Pin
Pete O'Hanlon24-Jan-07 22:53
mvePete O'Hanlon24-Jan-07 22:53 
GeneralRe: Problem In Multi Conditioned SQL: Pin
Shahzad.Aslam24-Jan-07 23:32
Shahzad.Aslam24-Jan-07 23:32 
GeneralRe: Problem In Multi Conditioned SQL: Pin
Colin Angus Mackay24-Jan-07 23:53
Colin Angus Mackay24-Jan-07 23:53 
GeneralRe: Problem In Multi Conditioned SQL: Pin
Shahzad.Aslam25-Jan-07 0:18
Shahzad.Aslam25-Jan-07 0:18 
GeneralRe: Problem In Multi Conditioned SQL: Pin
Pete O'Hanlon25-Jan-07 0:57
mvePete O'Hanlon25-Jan-07 0:57 

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.