Results 1 to 3 of 3
  1. #1
    sebgrb is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2014
    Posts
    2

    Showing parameter fields side by side

    Hi,



    I have a field in a table called Year. I am doing a query which has two parameters, "Enter first year" and "Enter second year" so that the user can compare values between two years, but I want the two years to display side by side in the query results. They both come from the same field in the table. The query works fine but I want to see the results as follows:

    Company, Year 1, Year 2, Payment

    At the moment it shows

    Company, Year, Payment
    With both year 1 and year 2 in one column.

    Is there a way to display it as I would like?

    Any help greatly appreciated.

    Kind regards

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Don't understand the results you describe. Do you mean:
    Company Year1 Year2
    ABC 100 200
    DEF 90 100

    If so, could try a CROSSTAB query.
    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.

  3. #3
    sebgrb is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2014
    Posts
    2
    Thank you, I did try that, but perhaps I didn't do it correctly, I will try again.

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

Similar Threads

  1. Report side by side comparing category
    By bbmak in forum Reports
    Replies: 5
    Last Post: 01-12-2014, 12:43 PM
  2. Side-by-Side Fields
    By DEG in forum Queries
    Replies: 1
    Last Post: 07-25-2011, 04:41 PM
  3. Replies: 11
    Last Post: 07-20-2011, 11:28 AM
  4. Side-by-side incorrect configuration
    By jbon in forum Access
    Replies: 1
    Last Post: 04-12-2011, 06:41 PM
  5. same recordset subreport side by side
    By novreis in forum Reports
    Replies: 5
    Last Post: 02-16-2011, 04:21 PM

Tags for this Thread

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