Results 1 to 2 of 2

Thread: Not VB6 - Access but can anyone help?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 1999
    Location
    Littlehampton, W Sussex GB
    Posts
    203

    Post

    I have an SQL in Access which creates a recordset of fields from different tables depending on matches. For example if a 'Contact Name' in a query is equal to one in my 'Contact table' - I am selecting the phone numbers for the contact. What happens is that if there is no match I don't get anything selected. I want to select everything else and if the contact doesn't match, just have null fileds for phone numbers - does anyone know how to do this with an SQL?

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105

    Post

    "Join". A full join will return all records from both tables, a right (or left) join will return all the data on the right (or left) side of the join statement, even if the other side has no matching records.

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