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!

Search results for query: *

  1. trose178

    Help on adding records

    the example i have looks like this but i couldnt figure out what the rsStudent in the coding was. if(!rsStudent.Open()) return FALSE; if(!rsStudent.CanAppend()) return FALSE; // No field values were set rsStudent.AddNew(); rsStudent.m_Birthdate =...
  2. trose178

    Help on adding records

    I am trying to add records to my ODBC MFC program and am using this code void CPersonalView::OnNewaddress() { if(!CPersonalSet.Open()) return FALSE; if(!CPersonalSet.CanAppend()) return FALSE; // No field values were set !CPersonalSet.AddNew(); !CPersonalSet.m_Birthdate =...
  3. trose178

    Adding records to ODBC

    I have a ODBC access database that im trying to aadd records to but i cannot figure out where to even start I have a book that gives an example but the book is totally backwards from the way I have my stuff setup so I don't even know where to start. If anyone could help me on getting the...
  4. trose178

    Help on adding records

    Hi, I have an MFC program using ODBC and that has four classes. DB1Set, DB1View, DB2Set, and DB2View respectively. What I am trying to do is figure out how to add records to the the project. What I would like to do is try to use the same dialogs that I have now where I can edit them. But I'm...
  5. trose178

    Invoking a Dialog with base class: CRecordView

    you dont use DoModal() in my projects i used the function SelectView() It was the way i learned when i started C++ and I find it easier. The only thing is you need to create the function in your CMainFrame Class. My Code for the selectview function looks like this: void...
  6. trose178

    Invoking a Dialog with base class: CRecordView

    Well what you essentially need to do is create UINT variables for your two views in a seperate header file called OurConstants.h or whatever else you would like to call it. I don't know exactly what the code looks like but setting the variables goes something like this: #if...
  7. trose178

    ODBC Managers

    ok let me clear that up i kinda typed it fast and a little hard to understand. I have a program that is using a database and it is a specific database for the program. I need some type of thing to install the database on the computer and initialize it in windows so that the program will run...
  8. trose178

    ODBC Managers

    Hi, I an MFC ODBC Program. And I am trying to find out how to or if there is a program already made to load the database into the client computer when the program is first run or when the installer is run. I'm sure there is one but I don't know where to look. If you could help me it would be...
  9. trose178

    OBDC MFC Help

    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
  10. trose178

    OBDC MFC Help

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

    OBDC MFC Help

    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...
  12. trose178

    Adding Records to OBDC Program

    Hi I’m making an MFC Address Book Program using an OBDC Database in SDI. It has 4 classes hooked up to the Database: CPersonalView, CPersonalSet, CHomeView, CHomeSet. I have the program setup so you can view and edit the current records in the database. I am trying to set the program up so I...
  13. trose178

    Database Program Problem

    thanks for all your help but i have already changed CHomeview to public because it would have to be. But thanks for your help i remember that you do need to use .h files instead of .cpp thanks for all your help.
  14. trose178

    Database Program Problem

    Hi I'm creating my own type of addressbook program using MFC and OBDC. In my program there are 2 view classes. PersonalView and Homeview. In my MainFrm.cpp file I have this function: void CMainFrame::SelectView(UINT ViewID) { CView* pOldActiveView = GetActiveView;// Get current View //...
  15. trose178

    Using Tabs in MFC

    ok thank you hopefully i can finish this program before june or my supervisor in high school won't let me into it during my senior year
  16. trose178

    Using Tabs in MFC

    Hey guys im writing an Address Book type programming using a database in MFC and I am trying to make it so that i use tabs in the dialog to switch from personal info to home info. But when I inserted the tab it has 5 tabs and I only need 1. I would like to know how to get rid of thos tabs and...
  17. trose178

    Database Stuff

    ok thanks ill try messing with that
  18. trose178

    Database Stuff

    I am using Visual C++ 6.0 Pro and I am using databases to work on an address book program. I am basing the program off of Outlook/Outlook Express but I do not know how Microsoft keeps all their contacts together. I can't seem to find a seperate database file or anything and it seems weird that...
  19. trose178

    Database Stuff

    any1 know where i can get microsoft access 2000 or xp or a program like it cuz i need to get access or a program like it for doing database editing.
  20. trose178

    Need help linking OFWIN

    Help im a newb and dont know how to do much C++ but im learning. I need help compiling OFWIN using Listing OFWIN1 and OFWIN2 for a simple windows program. heres my code: // OFWIN.CPP Native windows program to display text in a window #include <windows.h> long CALLBACK WindowProc(HWND hWnd...

Part and Inventory Search

Back
Top