Results 1 to 2 of 2
  1. #1
    eyperry is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jun 2016
    Posts
    3

    In need of some assistance with my queries and spaces within the cell of the column

    Hello,



    I would like to know is it possible to join 4 queries into one. Now each query right now is related to a table. I want to keep the table that is connected to each query and yes its the same table in each query that is connected. How can I combine all 4 queries into one query.

    Also I have a few columns how can I remove the additional spaces within the cells in the column. For instance, it looks like this 72 77--- I want it to look like this 7277. ( No spaces)

    Also I am not the best with SQL as of yet so I do a lot in the design view tab

    Thank you Access Forums

  2. #2
    nrgins's Avatar
    nrgins is offline some guy
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2012
    Posts
    62
    Just create a new query and add your table and your four queries to it, and join the table to each query individually on the primary key of the table, being sure to use an outer join (all records from table and only matching records from query).

    To get rid of spaces, use the Replace function:

    Code:
    Replace([Field Name], " ", "")

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

Similar Threads

  1. Replies: 4
    Last Post: 12-10-2015, 02:56 PM
  2. Replies: 2
    Last Post: 11-29-2011, 05:26 PM
  3. Excel Automation Autofit Column (or Cell?) Width
    By orcinus in forum Programming
    Replies: 3
    Last Post: 02-09-2011, 11:44 AM
  4. Queries; need assistance changing formats
    By 9944pdx in forum Queries
    Replies: 4
    Last Post: 01-28-2011, 05:56 PM
  5. Replies: 3
    Last Post: 05-19-2010, 10:08 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