Click here to Skip to main content
15,914,780 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPorting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Christopher Duncan30-Nov-06 11:36
Christopher Duncan30-Nov-06 11:36 
AnswerRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Mark Salsbery30-Nov-06 11:42
Mark Salsbery30-Nov-06 11:42 
GeneralRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Christopher Duncan30-Nov-06 11:54
Christopher Duncan30-Nov-06 11:54 
GeneralRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Mark Salsbery30-Nov-06 12:04
Mark Salsbery30-Nov-06 12:04 
GeneralRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Christopher Duncan30-Nov-06 12:40
Christopher Duncan30-Nov-06 12:40 
GeneralRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Mark Salsbery30-Nov-06 13:10
Mark Salsbery30-Nov-06 13:10 
GeneralRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Christopher Duncan30-Nov-06 13:21
Christopher Duncan30-Nov-06 13:21 
GeneralRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Mark Salsbery30-Nov-06 13:39
Mark Salsbery30-Nov-06 13:39 
I'm pretty sure it still points to the record. You'd have to call CRecordset::Edit, make any
column changes and call Update again to edit the record after using AddNew/Update. If you close
the query, though, you'll have to use a bookmark or some other way to obtain the record again.

Note that on CRecordset::Open, you'll want to use the appropriate option flags (CRecordset::appendOnly
to just add new records, CRecordset::readOnly if you are just going to read records, etc.).
Using CRecordset::none allows you to edit, addnew, and delete records.

GeneralRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Christopher Duncan30-Nov-06 13:49
Christopher Duncan30-Nov-06 13:49 
GeneralRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Mark Salsbery30-Nov-06 14:04
Mark Salsbery30-Nov-06 14:04 
GeneralRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Christopher Duncan1-Dec-06 5:10
Christopher Duncan1-Dec-06 5:10 
GeneralRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Mark Salsbery1-Dec-06 6:25
Mark Salsbery1-Dec-06 6:25 
GeneralRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Christopher Duncan3-Dec-06 15:43
Christopher Duncan3-Dec-06 15:43 
GeneralRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Mark Salsbery3-Dec-06 16:37
Mark Salsbery3-Dec-06 16:37 
GeneralRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Christopher Duncan3-Dec-06 16:41
Christopher Duncan3-Dec-06 16:41 
GeneralRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Mark Salsbery3-Dec-06 16:46
Mark Salsbery3-Dec-06 16:46 
GeneralRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Christopher Duncan3-Dec-06 16:48
Christopher Duncan3-Dec-06 16:48 
GeneralRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Mark Salsbery3-Dec-06 17:04
Mark Salsbery3-Dec-06 17:04 
GeneralRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Christopher Duncan3-Dec-06 17:13
Christopher Duncan3-Dec-06 17:13 
GeneralRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Mark Salsbery3-Dec-06 17:31
Mark Salsbery3-Dec-06 17:31 
GeneralRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Christopher Duncan3-Dec-06 17:34
Christopher Duncan3-Dec-06 17:34 
AnswerRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Stephen Hewitt30-Nov-06 11:57
Stephen Hewitt30-Nov-06 11:57 
GeneralRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Christopher Duncan30-Nov-06 11:59
Christopher Duncan30-Nov-06 11:59 
GeneralRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Stephen Hewitt30-Nov-06 12:02
Stephen Hewitt30-Nov-06 12:02 
GeneralRe: Porting VC++ 6.0 / DAO to VS2003 - what's the best non .NET db API? Pin
Christopher Duncan30-Nov-06 12:05
Christopher Duncan30-Nov-06 12:05 

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.