Results 1 to 2 of 2
  1. #1
    funi.t is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Dec 2011
    Posts
    52

    problem with creating a query

    Let me take you through my problem again.
    I have two tablesStore units(T1) and Master shipping table(T2).
    I have to search the waybillnr that is on T1 on T2.If the waybillnr is availible in both T1 and T2,Access should give me the corresponding shipping ID(found in the shipping master table).
    If not it should say"Not on List").



    I can do it on excel but not on access
    Arrays:
    A2=waybill T1
    B2=waybill T2
    C2= shpment ID

    Here is an example:
    D2=IF(ISNA(VLOOKUP(A2,$B2:B$282871,FALSE)),"not on list","on list")
    E2=IF(D2="on list",C2,"not shipped")

    Please help

  2. #2
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    You say that the waybill number is in both tables but you do not say what the relationship is between the two tables. For each waybill in Store Unit (T1) can there be many related records in the Master Shipping table (T2) or is it the other way around (one master shipping record to many store unit records)?

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

Similar Threads

  1. Problem creating hyperlink to a sub macro
    By AccessOAP in forum Programming
    Replies: 2
    Last Post: 08-15-2011, 08:05 AM
  2. creating form problem
    By freeidea in forum Access
    Replies: 1
    Last Post: 07-31-2011, 10:39 AM
  3. Problem Creating Report
    By Jeeper in forum Reports
    Replies: 2
    Last Post: 08-11-2010, 06:50 AM
  4. Problem Creating Report
    By Access_CFO in forum Reports
    Replies: 3
    Last Post: 04-01-2009, 01:08 PM
  5. Replies: 0
    Last Post: 10-23-2008, 12:08 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