Results 1 to 2 of 2

Thread: AppWizard -> CDAORecordset for a join

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2000
    Location
    Allen Park, MI, Wayne
    Posts
    39

    AppWizard -> CDAORecordset for a join

    Here's an MFC question:

    I'm using AppWizard to build an app. I'd like to insert one CDAORecordset class to do a join across two tables. I couldn't get this to work, though. So, I inserted two classes and walked each table. This really sucks, and I'd rather do a join.

    I'm starting to think the problem is that when I did an open I only referenced the one field across both tables I was interested in. Although this works in Access, I think it must be a problem within the Data Exchange to not list all fields on a select in the SQL for a Recordset open?

    Does that make sense?

    When I brake it up into two classes, it works fine!

    Thanks in Advance!

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Hmm...

    Try to define the join query you want in Access and save it in the db. Then add a recordset class based on that query (not sure if the wizard can do it though).
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width