Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2022
    Posts
    21

    Filter out data in a query


    Hey all,

    So I got a query going for a table that has all my data in it. Under the field [myBarcode], there will either be a sales order such as 5555555/55 or text that says Indirect Labor, it could be a mix. What I would like to do when I query, is separate all the sales orders and Indirect Labor under a certain individual so that I can use them in my stacked column chart. How do I?

  2. #2
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,118
    You would add a calculated field to the query: OrderType:Iif(Instr([myBarcode],"Indirect")>0,"Indirect","Order"). Now you should have a field with "Indirect" or "Order" that you can use in your chart.

    Cheers,
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  3. #3
    Join Date
    Mar 2022
    Posts
    21
    Thanks, exactly what I was looking for!

  4. #4
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,118
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

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

Similar Threads

  1. Replies: 5
    Last Post: 07-23-2018, 04:33 PM
  2. Filter query for consectuive data
    By JimO in forum Queries
    Replies: 10
    Last Post: 06-21-2016, 04:57 PM
  3. Replies: 6
    Last Post: 09-23-2013, 03:17 PM
  4. Replies: 1
    Last Post: 09-04-2012, 02:32 PM
  5. Query: How To Filter Data In Criteria
    By netchie in forum Queries
    Replies: 1
    Last Post: 08-31-2011, 01:36 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