Click here to Skip to main content
15,917,177 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMulitline Edit Box Pin
Johnny Peszek13-Aug-04 5:08
Johnny Peszek13-Aug-04 5:08 
GeneralRe: Mulitline Edit Box Pin
David Crow13-Aug-04 5:25
David Crow13-Aug-04 5:25 
GeneralRe: Mulitline Edit Box Pin
Johnny Peszek13-Aug-04 5:42
Johnny Peszek13-Aug-04 5:42 
GeneralRe: Mulitline Edit Box Pin
Shi Zhu14-Aug-04 5:32
Shi Zhu14-Aug-04 5:32 
GeneralRe: Mulitline Edit Box Pin
Johnny Peszek16-Aug-04 1:53
Johnny Peszek16-Aug-04 1:53 
GeneralRe: Mulitline Edit Box Pin
Jeremy Falcon13-Aug-04 6:54
professionalJeremy Falcon13-Aug-04 6:54 
GeneralRe: Mulitline Edit Box Pin
Johnny Peszek13-Aug-04 7:34
Johnny Peszek13-Aug-04 7:34 
Generalproblem while adding record in MFC database application Pin
skgk13-Aug-04 5:00
skgk13-Aug-04 5:00 
hello,
I am new to MFC programming. I have an urgent requirement of
creating an Address Book application with MSAccess database. I am using the
ODBC data source administrator.

I have created the GUI with two fields for name and address.
For this Edit box i have created the member variables also.
I am able to retrieve the data from the database through DoDataExchange part.
For Adding a record into the database i have written the
following code.

void CAddbookView::OnAddClick()
{
m_pSet->AddNew();
UpdateData(FALSE);
}

In this case the data i am entering is overwriting the current data. And
the next, previous, first and last control in the DR_MAINFRAME main form are
disabled.
So i want to know whether i should add any extra code for the
add operation or any steps needs to be done while creating the GUI.

I am stuck with this problem. I need to do update also. I am totally
lost in the code.
If anybody can help regarding this it will be of useful and timely help.

Thank you

GeneralRe: problem while adding record in MFC database application Pin
David Crow13-Aug-04 5:34
David Crow13-Aug-04 5:34 
GeneralRe: problem while adding record in MFC database application Pin
skgk17-Aug-04 3:55
skgk17-Aug-04 3:55 
GeneralRe: problem while adding record in MFC database application Pin
David Crow17-Aug-04 4:11
David Crow17-Aug-04 4:11 
QuestionHow to call and execute parameter query with ADO? Pin
george ivanov13-Aug-04 4:23
george ivanov13-Aug-04 4:23 
GeneralStatic text disappears after losing focus Pin
shultas13-Aug-04 4:12
shultas13-Aug-04 4:12 
GeneralRe: Static text disappears after losing focus Pin
Ravi Bhavnani13-Aug-04 4:48
professionalRavi Bhavnani13-Aug-04 4:48 
GeneralRe: Static text disappears after losing focus Pin
shultas13-Aug-04 5:04
shultas13-Aug-04 5:04 
GeneralRe: Static text disappears after losing focus Pin
David Crow13-Aug-04 5:37
David Crow13-Aug-04 5:37 
GeneralRe: Static text disappears after losing focus Pin
Ravi Bhavnani13-Aug-04 10:48
professionalRavi Bhavnani13-Aug-04 10:48 
GeneralWindows message handling with different threads. Pin
Moak13-Aug-04 4:12
Moak13-Aug-04 4:12 
GeneralRe: Windows message handling with different threads. Pin
David Crow13-Aug-04 7:11
David Crow13-Aug-04 7:11 
GeneralRe: Windows message handling with different threads. Pin
MoakInternetcafe15-Aug-04 4:46
sussMoakInternetcafe15-Aug-04 4:46 
GeneralIt seems nobody here knows how to do this!!! Pin
CreepingFeature13-Aug-04 3:57
CreepingFeature13-Aug-04 3:57 
GeneralRe: It seems nobody here knows how to do this!!! Pin
David Crow13-Aug-04 4:04
David Crow13-Aug-04 4:04 
GeneralRe: It seems nobody here knows how to do this!!! Pin
Tom Dziedzic13-Aug-04 8:09
Tom Dziedzic13-Aug-04 8:09 
GeneralRe: It seems nobody here knows how to do this!!! Pin
David Crow13-Aug-04 10:10
David Crow13-Aug-04 10:10 
GeneralRe: It seems nobody here knows how to do this!!! Pin
Rick York13-Aug-04 12:34
mveRick York13-Aug-04 12:34 

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.