Thread: Using informaion from a database in a child of a form

  1. #1
    Registered User
    Join Date
    Sep 2001
    Location
    England
    Posts
    121

    Using informaion from a database in a child of a form

    Just a quick question, using an Appwizard generated MDI and an access table as an ODBC source, getting information on the form itself is easy, I just need to create an edit box and as it's member variable use m_pSet->m_InformationOnDatabase. However I cant use this on any children of the form (specifically tab dialogs) as VC++ reports an invalid symbol. I would like to read from the database directly in my property sheets, and I have tried adding the m_pSet variable to my PropertyPage1.h header, only to receive a load of errors (if this is important I'd be happy to post the errors)

    Sorry about all the questions on the board by the way, I cant seem to find any comprehensive tutorials that tell you this kind of thing (yes, even on google), and I'm just starting.

    Thanks for any help

  2. #2
    Registered User
    Join Date
    Sep 2001
    Location
    England
    Posts
    121
    I would also like to be able to list all the entries in a table in a list box, but at the moment I can only access one line (one record) at a time. Any help or a pointer to a tutorial or book would be appreciated, these are the type of questions I would normally consult a good reference on if I could find one.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 10-15-2008, 09:24 AM
  2. process programming
    By St0rM-MaN in forum Linux Programming
    Replies: 2
    Last Post: 09-15-2007, 07:53 AM
  3. Child form
    By mdoland in forum C# Programming
    Replies: 1
    Last Post: 01-20-2007, 02:16 PM
  4. Windows Form App as parent, Directx as child??
    By yetti82 in forum C++ Programming
    Replies: 3
    Last Post: 05-29-2006, 03:04 AM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM