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

C / C++ / MFC

 
GeneralRe: GetLastError problem Pin
rmnowick23-Mar-04 11:47
rmnowick23-Mar-04 11:47 
GeneralRe: GetLastError problem Pin
Maksim Lepikhin23-Mar-04 12:08
Maksim Lepikhin23-Mar-04 12:08 
GeneralRe: GetLastError problem Pin
rmnowick23-Mar-04 12:28
rmnowick23-Mar-04 12:28 
GeneralSaving Encrypted Passwords Pin
ExtraLean23-Mar-04 9:18
ExtraLean23-Mar-04 9:18 
GeneralRe: Saving Encrypted Passwords Pin
Robert A. T. Káldy23-Mar-04 9:35
Robert A. T. Káldy23-Mar-04 9:35 
GeneralRe: Saving Encrypted Passwords Pin
ExtraLean23-Mar-04 10:03
ExtraLean23-Mar-04 10:03 
GeneralRe: Saving Encrypted Passwords Pin
Robert A. T. Káldy23-Mar-04 10:18
Robert A. T. Káldy23-Mar-04 10:18 
GeneralProblem CRecordSet Pin
ansontong23-Mar-04 6:59
ansontong23-Mar-04 6:59 
Dear All,

The below is a part of my function, i would be updated my access file through CRecordSet class with using SQL command. But it seem like not work.
any problem occour? Do you think the datatpye inside the access file will lead abnormal termination ?

//-------------------------------------------------------------------------
// Name: updateRecord()
// Desc: update the database content into the list box
// modified by Anson on 3/3/04
//--------------------------------------------------------------------------
static void updateRecord(HWND hwnd, CDatabase *db)
{

sprintf(str, "UPDATE PlantInit SET %s = %s WHERE FrameID = %s" ,g_plantDataField[i],ebstr,g_temp[j].frameID);

// Open database my write my DQL command on it
rsta.Open(CRecordset::dynaset, str );
MessageBox(hwnd, "The record has been updated.", "Database Message", MB_OK);
rsta.Close();
}


Regards,
Anson Tong
GeneralRe: Problem CRecordSet Pin
RadioShark23-Mar-04 7:11
RadioShark23-Mar-04 7:11 
GeneralRe: Problem CRecordSet Pin
David Crow23-Mar-04 8:17
David Crow23-Mar-04 8:17 
General_crtisvalidheappointer (URGENT) Pin
BlackDice23-Mar-04 6:53
BlackDice23-Mar-04 6:53 
GeneralRe: _crtisvalidheappointer (URGENT) Pin
Steve S23-Mar-04 7:27
Steve S23-Mar-04 7:27 
GeneralRe: _crtisvalidheappointer (URGENT) Pin
BlackDice23-Mar-04 7:36
BlackDice23-Mar-04 7:36 
GeneralRe: _crtisvalidheappointer (URGENT) Pin
Steve S23-Mar-04 21:30
Steve S23-Mar-04 21:30 
GeneralRe: _crtisvalidheappointer (URGENT) Pin
BlackDice23-Mar-04 7:47
BlackDice23-Mar-04 7:47 
GeneralRe: _crtisvalidheappointer (URGENT) Pin
Steve S23-Mar-04 21:40
Steve S23-Mar-04 21:40 
GeneralAdding Items to CTabCtrl Pin
mmica23-Mar-04 6:38
mmica23-Mar-04 6:38 
GeneralRe: Adding Items to CTabCtrl Pin
Ravi Bhavnani23-Mar-04 10:59
professionalRavi Bhavnani23-Mar-04 10:59 
Generalrand Pin
nicolas thompson23-Mar-04 5:59
sussnicolas thompson23-Mar-04 5:59 
GeneralRe: rand Pin
RadioShark23-Mar-04 6:12
RadioShark23-Mar-04 6:12 
GeneralRe: rand Pin
nicolas thompson23-Mar-04 10:22
sussnicolas thompson23-Mar-04 10:22 
GeneralRe: rand Pin
David Crow23-Mar-04 10:26
David Crow23-Mar-04 10:26 
GeneralRe: rand Pin
David Crow23-Mar-04 6:29
David Crow23-Mar-04 6:29 
GeneralRe: rand Pin
nicolas thompson23-Mar-04 10:17
sussnicolas thompson23-Mar-04 10:17 
GeneralRe: rand Pin
David Crow23-Mar-04 10:23
David Crow23-Mar-04 10:23 

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.