Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OBDC MFC Help

Status
Not open for further replies.

trose178

Programmer
Nov 26, 2002
26
US
Hi I am writing a program that works like an address book and have had no problems up until figuring out how I would add records to the recordset. I have the program now so I can update all records and what not but other than that I'm kinda stuck.

The program is in SDI format and consists of the standard Doc, App, AboutDlg, and MainFrame classes, but it also has 4 others for the 2 parts of the database: CHomeSet, CHomeView, CPersonalSet, CHomeView.

I'm trying to make the program so at the click of a button it can go to a seperate dialog that has all the fields necessary for adding the record. I have a book that gives a few examples but the way that it works is different then the way I have created my program.

If anyone has any suggestions for me please help if you can.

Thanks in Advance guys

Tim,
Currently Studying in High School
 
Well I guess this one is harder than it looks.

Tim,
Currently Studying in High School
 
>> Well I guess this one is harder than it looks.

Actually no. The real problem is that you did not ask a specific question. Solving general questions like how do i write a program that does x, y and z is not well suited to message based communications. Tutorials and books are much more efficient in that scenario.

-pete
[sub]I just can't seem to get back my IntelliSense[/sub]
 
Ok, I see what you mean. I want to know what the basic idea is to adding records. Because that is pretty much the last step to my program.

Tim,
Currently Studying in High School
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top