Click here to Skip to main content
15,911,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: multiple executables in the same project? Pin
Anthony_Yio17-Dec-03 17:17
Anthony_Yio17-Dec-03 17:17 
GeneralRe: multiple executables in the same project? Pin
luddet18-Dec-03 4:43
luddet18-Dec-03 4:43 
GeneralRe: multiple executables in the same project? Pin
John M. Drescher19-Dec-03 8:13
John M. Drescher19-Dec-03 8:13 
GeneralRe: multiple executables in the same project? Pin
luddet20-Dec-03 3:52
luddet20-Dec-03 3:52 
GeneralResource Only DLL question Urgent! Pin
Binayak17-Dec-03 11:24
Binayak17-Dec-03 11:24 
GeneralRe: Resource Only DLL question Urgent! Pin
Prakash Nadar17-Dec-03 16:42
Prakash Nadar17-Dec-03 16:42 
GeneralBest database classes for this purpose: not really a programming question Pin
pankajdaga17-Dec-03 11:21
pankajdaga17-Dec-03 11:21 
GeneralRe: Best database classes for this purpose: not really a programming question Pin
John M. Drescher17-Dec-03 17:09
John M. Drescher17-Dec-03 17:09 
Generalquick question Pin
Qbus17-Dec-03 10:41
Qbus17-Dec-03 10:41 
GeneralRe: quick question Pin
Terry O'Nolley17-Dec-03 12:34
Terry O'Nolley17-Dec-03 12:34 
GeneralRe: quick question Pin
sam India17-Dec-03 17:47
sam India17-Dec-03 17:47 
GeneralCRecordset, ODBC, and Access Pin
David Crow17-Dec-03 8:34
David Crow17-Dec-03 8:34 
GeneralRe: CRecordset, ODBC, and Access Pin
Terry O'Nolley17-Dec-03 12:39
Terry O'Nolley17-Dec-03 12:39 
GeneralRe: CRecordset, ODBC, and Access Pin
David Crow18-Dec-03 2:51
David Crow18-Dec-03 2:51 
GeneralRe: CRecordset, ODBC, and Access Pin
Terry O'Nolley18-Dec-03 8:19
Terry O'Nolley18-Dec-03 8:19 
DavidCrow wrote:
I'll try this, but I'm not following your logic. What would an exclusive lock on a single-user database have to with being able to query an AutoNumber field of a newly-added record?

I didn't realize it was a single-user DB.

If it is a single user DB then you don't need the lock. Just do the insert and query for MAX ID.
If your ID field is an auto-number, then the MAX will be the newly inserted record.

Using LOCK prevents other records from being inserted while you do your insert.



GeneralRe: CRecordset, ODBC, and Access Pin
sam India17-Dec-03 18:21
sam India17-Dec-03 18:21 
GeneralRe: CRecordset, ODBC, and Access Pin
David Crow18-Dec-03 2:40
David Crow18-Dec-03 2:40 
GeneralOWL to MFC Pin
olezhik17-Dec-03 8:16
olezhik17-Dec-03 8:16 
GeneralRe: OWL to MFC Pin
Jörgen Sigvardsson17-Dec-03 8:24
Jörgen Sigvardsson17-Dec-03 8:24 
GeneralRe: OWL to MFC Pin
Terry O'Nolley17-Dec-03 12:40
Terry O'Nolley17-Dec-03 12:40 
GeneralRe: OWL to MFC Pin
Anthony_Yio17-Dec-03 15:56
Anthony_Yio17-Dec-03 15:56 
GeneralRe: OWL to MFC Pin
Joe Woodbury18-Dec-03 5:31
professionalJoe Woodbury18-Dec-03 5:31 
GeneralHardware Interfacing Pin
Member 17799617-Dec-03 7:05
Member 17799617-Dec-03 7:05 
GeneralRe: Hardware Interfacing Pin
Nitron17-Dec-03 7:16
Nitron17-Dec-03 7:16 
GeneralRe: Hardware Interfacing Pin
John M. Drescher17-Dec-03 7:30
John M. Drescher17-Dec-03 7:30 

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.