Results 1 to 2 of 2
  1. #1
    kennybarlow is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Jun 2015
    Posts
    1

    Multiple Column Help!

    Here's my dilemma. I work for a manufacturer, and I have been able to use access to pull all the raw data from our ERP. I have been able to create a query that shows me the model number, the work order numbers that were issued for that model number, all the individual step/operation numbers in that work order, and the times an operator was on each op/step.

    What I want to do is format a report that sorts:
    1. by model # (That I can do)



    but then I want it to compare the all the op times of each work order issued on that model that week side by side.

    So in my head it looks like this (sorry for the crude Paint work):

    Click image for larger version. 

Name:	Ops.jpg 
Views:	10 
Size:	48.0 KB 
ID:	21069

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,959
    Not really knowing your data structure makes it hard to give specifics. But your options may be:

    1. CROSSTAB query - building a stable report to run perpetually based on CROSSTAB is not easy http://allenbrowne.com/ser-67.html

    2. build a query for each work order then join all those queries to master dataset of steps/operations

    3. query that emulates a CROSSTAB with expressions http://www.datapigtechnologies.com/f.../crosstab.html

    4. temp table and VBA https://www.accessforums.net/program...ias-21972.html

    5. concatenate related data into single string http://allenbrowne.com/func-concat.html

    Doubt options 2 and 3 are practical because each model probably has different number of work orders.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 4
    Last Post: 09-05-2014, 02:00 PM
  2. Multiple Column sort.
    By detaylor1242 in forum Access
    Replies: 5
    Last Post: 10-31-2013, 10:23 AM
  3. Subtracting in the same column for multiple IDs
    By bigspace55 in forum Queries
    Replies: 1
    Last Post: 02-28-2013, 01:05 PM
  4. Multiple column select
    By oljees in forum Queries
    Replies: 2
    Last Post: 07-28-2011, 08:32 PM
  5. from excel - multiple column to one
    By Eitas in forum Import/Export Data
    Replies: 1
    Last Post: 05-12-2011, 02:07 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