Results 1 to 2 of 2
  1. #1
    bedington is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2019
    Posts
    1

    Help with selecting fields

    Good Morning,



    I am new to Access and trying to complete the following task, I have a database that has a select query that pulls the following 3 columns, customer ID, Sequence number, shipping number. I want to be able to tie it into the main query that lists out all customer information in which it will be tied in a similar manner to the below.

    Customer number is linked to customer number in main table, and I want if sequence number =1 then copy shipping number to field "UPS" in main table, if sequence number =2 then copy shipping number to field FedEx, etc.

    Does that make sense? I can see the information that I want but I am unsure how to get it to map to the correct customer

    Any help is greatly appreciated and I apologize if I did not use the correct terminology.

    Thanks in Advance!
    Brent

  2. #2
    ranman256's Avatar
    ranman256 is online now VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,521
    You would have a lookup table of shipping...
    1,ups
    2,fedEx
    3...

    In the query,join it to your data table on the ShipCode, bring down the ShipperName field into the query.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. selecting fields that have data
    By harryklein in forum Queries
    Replies: 3
    Last Post: 08-14-2018, 03:38 AM
  2. Selecting highest value across several fields
    By megabrown in forum Queries
    Replies: 19
    Last Post: 10-28-2014, 01:16 AM
  3. Replies: 2
    Last Post: 12-26-2013, 02:50 PM
  4. Replies: 3
    Last Post: 07-03-2012, 02:01 PM
  5. Replies: 3
    Last Post: 02-02-2012, 09:48 AM

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