Solved

MS access changes vertical column into rows

Posted on 2014-04-14
2
202 Views
Last Modified: 2014-04-29
This is part 2 to a question I received help on with the above "Title".  The module appears to be working ok but now my results are pulling incorrectly.

Query runs off table called tblScott2, Query name:  Q_Test1
At the prompt I am looking for *Mar* (to get any activity for any ID that happened in March ~ used wildcard because user not consistent on how they enter the DSC.

When I select “*Mar* ~ I should get
Tublight                       Tublight: 01, 05
BallLight                       BallLight: 01, 09
GoCarts                       GoCarts:  01, 016
SwitchBreakers      SwitchBreakers: 016
HoldingTub      HoldingTub: 06, 01

When I select "*Mar*" ~ I get
BallLight                       BallLight:  01, 09
GoCarts                       GoCarts:  04, 016
HoldingTub      HoldingTub:  01, 06, 016
SwitchBreakers      SwitchBreakers:  01, 012, 016
TubLight                        TubLight:  01, 05, 016

There is an extra page in "Tublight"; 2 extra pages in "SwitchBreakers";  and an extra page in HoldingTub.
Can't see why those extra pages are picking up.  I have attached the database.
Tester-Adhoc.zip
0
Comment
Question by:deefel
2 Comments
 
LVL 30

Accepted Solution

by:
hnasr earned 500 total points
Comment Utility
GoCarts                       GoCarts:  01, 016 == 04,016

Module and query modified
Tester-Adhoc-2.zip
0
 

Author Closing Comment

by:deefel
Comment Utility
Worked perfectly.  thanks
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now