Nicholson, Karen
knicholson at gpsx.net
Mon Sep 8 13:39:09 CDT 2003
Do we have a group for C++ Help? I am getting put through the learning
curve ringer, but it is great. Went from SQL to VB6 now to C++. Only
problems are those hiccups you get between languages, little things that add
gray hair.
This is my C++ code for an OK, CANCEL button:
{
if (Application->MessageBox("Warning - You are About to Update the Rebate
Pay Field","Warning",MB_OKCANCEL) != IDOK)
{StoredProc1->Prepare();
StoredProc1->ExecProc();
}
else {
MessageBox,(NULL, "Records Not Updated", NULL, NULL);
}
}
I don't think it is working - I don't get the message box I expect if the
user selects cancel. Any thoughts?