Results 1 to 2 of 2
  1. #1
    bhushan98 is offline Novice
    Windows XP Access 2003
    Join Date
    Jun 2009
    Posts
    3

    query problem

    Hello Everybody,

    I am having a table and the sample data is as follows :

    HTML Code:
    ord_no tr_date party itemname fab ref cref col1 col2 col3 col4 size1 pcsize1 size2 pcsize2 size3 pcsize3 size4 pcsize4 size5 pcsize5 size6 pcsize6 rate
     
     
    1111 6/3/2009 ALBERT JUGNU TOP LONG SLEEFS =XS CAMBRIC 123 12234 HEENA CHOCO BROWN RED S-Small 10 M-Medium 20 L-Large 30 XL-Extra Large 40 FS-Free Size 50 FS-Free Size 60 120
     
     
     
    1111 6/3/2009 ALBERT KAMAL HOLE TOP M=S HANDLOOM 123 12 HEENA CHOCO BROWN RED S-Small 5 M-Medium 20 L-Large 30 XL-Extra Large 40 FS-Free Size 50 FS-Free Size 60 120
    The desired output is like :

    eg.

    HTML Code:
    Fabric         color        Nos
     
    CAMBRIC       HEENA     (SUM OF ALL PCSIZE1-6 FIELDS)
    CAMBRIC       CHOCO    (SUM OF ALL PCSIZE1-6 FIELDS)
    CAMBRIC       BROWN    (SUM OF ALL PCSIZE1-6 FIELDS)
    HANDLOOM    HEENA     (SUM OF ALL PCSIZE1-6 FIELDS)
    HANDLOOM    RED         (SUM OF ALL PCSIZE1-6 FIELDS)
    Pl. Help me to find a solution to this query.

    Thanks and Regards


    Neeraj

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Is there any chance you could nornalize this table?

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

Similar Threads

  1. query problem
    By maxx3 in forum Queries
    Replies: 35
    Last Post: 05-29-2009, 04:07 PM
  2. Top 25 query problem
    By tmcrouse in forum Queries
    Replies: 3
    Last Post: 05-07-2009, 09:02 AM
  3. problem with query
    By kiethb in forum Queries
    Replies: 3
    Last Post: 04-24-2009, 11:42 AM
  4. Problem in Query
    By Bruno Trindade in forum Queries
    Replies: 4
    Last Post: 03-28-2009, 04:10 PM
  5. Update Query problem
    By sollem1 in forum Queries
    Replies: 0
    Last Post: 11-08-2007, 10:16 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