Solved

MS access changes vertical column into rows

Posted on 2014-04-14
2
216 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
ID: 40000768
GoCarts                       GoCarts:  01, 016 == 04,016

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

Author Closing Comment

by:deefel
ID: 40030200
Worked perfectly.  thanks
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linking Master Child Fields 2 26
MS Access, hourly employee status 8 43
Null or "" 28 53
VBA code to use a table to create a new temp table with a column added 4 33
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 developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

733 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