Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    ewong is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Aug 2012
    Posts
    9
    Quote Originally Posted by orange View Post
    Check your field names, make sure the spelling is correct; verify against the table definition.
    Hi orange,

    It works fine now, it seems



    Anyway, I have another questions. I tried doing this before by going through it "manually". Instead of using sql, I went to the query design, added both tables in the 'show table', and added all the fields from table 1 + commission id from table 2. It seemed to generate the same result with what I have now using the sql method. I am just curious if this is really another way of doing it besides using sql...

    Another question I have is, while it's working, there seems to be something odd with the amount of data it currently has. The new report seems to have lost 10 rows of data...

    Do you have any idea of what might have happened?

    Thanks!

  2. #17
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    The query wizard is the interface that humans (often non programmers) tend to learn and use. Behind the scenes the query parameters are transformed into SQL and processed by the database engine.
    Whether you use the wizard interface, or use the SQL view directly is up to you. The result should be the same regardless of which you use.

    Your query is only picking records where the the fields in both tables are equal.

    You should investigate w3schools.com for SQL queries. Look at the different types of Joins

    Inner Join Left Join.. and see what they do.

    Good luck.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Help needed urgent
    By diljot5394 in forum Access
    Replies: 1
    Last Post: 04-23-2012, 02:44 AM
  2. Replies: 3
    Last Post: 12-18-2011, 04:17 AM
  3. please help urgent...thanks
    By dadas in forum Access
    Replies: 4
    Last Post: 10-13-2011, 01:42 PM
  4. Concatenation Urgent Help
    By Shoaib in forum Queries
    Replies: 0
    Last Post: 04-23-2009, 11:02 PM
  5. I need help! Urgent! :(
    By Suzan in forum Database Design
    Replies: 0
    Last Post: 04-08-2006, 11:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums