Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 56
  1. #31
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    I practically wrote it for you on the other thread. All you had to do is fix the field names.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  2. #32
    brobb56 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    65
    I am a novice. I am trying to learn. I am no where in the leaugue you are but I want to learn. I do not know where to place the string. Tell me where to put the string. Give me the string again of you please and i will try it. I am sorry.

    Thanks

  3. #33
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Don't be sorry, but don't be helpless either. Give the string to you again? You can go to the other thread and get it as easily as I can. I told you where it goes there. You obviously know how to create a query, since there are several in the sample. Start a query with the wizard that gets the first year/form, then switch it to SQL view. Copy the format of what I did there.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #34
    brobb56 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    65
    Thank you for your time.

    This issue is still open. I have received "help" with expectations that I can fill in the blanks. I am not stupid or helpless. I however, can not fill in the blanks. All I request is someone who wishes to help and explain.

    Thank you

  5. #35
    brobb56 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    65
    strings were given to solve this however, the instructions were very sketchy and did not help me in making a union. As a novice, concise complete and understanding assistance is what would help. Does anyone know how to create a union. It is clear I am a novice and no doubt test the patience of those more learned. PLEASE HELP A NOVICE LEARN.
    Thank you

  6. #36
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    SELECT Calls.Borrower, Calls.[Report ID], Calls.[Years Requested 1], Calls.[Form Type1]
    FROM Calls
    WHERE Calls.[Years Requested 1] Is Not Null
    UNION ALL
    SELECT Calls.Borrower, Calls.[Report ID], Calls.[Form Type2], Calls.[Years Requested 2]
    FROM Calls
    WHERE Calls.[Years Requested 2] Is Not Null
    UNION ALL
    SELECT Calls.Borrower, Calls.[Report ID], Calls.[Form Type 3], Calls.[Years Requested 3]
    FROM Calls
    WHERE Calls.[Years Requested 3] Is Not Null
    UNION ALL
    SELECT Calls.Borrower, Calls.[Report ID], Calls.[Form Type 4], Calls.[Years Requested 4]
    FROM Calls
    WHERE Calls.[Years Requested 4] Is Not Null
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  7. #37
    brobb56 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    65
    Thank youbut I do not know where to place it. I did unions in Access 2003. This 2010 is very greek to me and I am without understanding to creating a union.
    Thank you

  8. #38
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    I'm not sure how to say it any clearer than to start a query and switch to SQL view. Does this help?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  9. #39
    brobb56 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    65
    I will try this.

  10. #40
    brobb56 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    65
    I took my old query. I did a union on it and there are a few cells that are crossed years to forms. Other than that it is perfect. Any suggestions.

  11. #41
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    I have no idea what "crossed years to forms" means.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  12. #42
    brobb56 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    65
    Only on some records the year shows up in the form column and the form type shows up in the year column. I deleted all records and put new ones in and it seems to be on year 2 and form 2. Other than that your advise has been stellar and it looks just like it needs to. Any ideas on those few that go awry?

  13. #43
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    If you look at the SQL I posted, you'll see I reversed the form and year in the first SELECT clause. They should all match, so the order of the 4 fields in each of the SELECT clauses is the same.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  14. #44
    brobb56 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    65
    I should have caught that. I will play with it and add new records. If this works, which it looks like it will. I just need to add one more column at the end that will be labled FOR IRS USE ONLY, Thoughts.... my concern is the union. Pbaldy, thank you for your patience and superb knowledge.

  15. #45
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    You can add it to the UNION (each part):

    SELECT Calls.Borrower, Calls.[Report ID], Calls.[Form Type2], Calls.[Years Requested 2], "FOR IRS USE ONLY" AS Whatever

    but I'd probably just add a textbox to the report that contained it.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Page 3 of 4 FirstFirst 1234 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Report Showing ID number and not the name
    By tipopilotas in forum Reports
    Replies: 11
    Last Post: 07-20-2015, 03:21 PM
  2. Report not showing all records
    By tyguy in forum Reports
    Replies: 6
    Last Post: 05-06-2011, 09:04 AM
  3. Not showing records with null sum
    By eww in forum Queries
    Replies: 3
    Last Post: 04-04-2011, 03:10 PM
  4. Showing OpenArgs in a Report.
    By SIGMA248 in forum Programming
    Replies: 2
    Last Post: 04-01-2011, 11:57 AM
  5. Null Values not showing up in a Query
    By Valli in forum Queries
    Replies: 0
    Last Post: 01-04-2006, 03:53 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