<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

      <title>Comments on: Access Query headaches!</title>
      <link>http://ask.metafilter.com/39033/Access-Query-headaches/</link>
      <description>Comments on Ask MetaFilter post Access Query headaches!</description>
	  	  <pubDate>Sat, 27 May 2006 18:37:48 -0800</pubDate>
      <lastBuildDate>Sat, 27 May 2006 18:37:48 -0800</lastBuildDate>
      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>

<item>
  	<title>Question: Access Query headaches!</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches</link>	
  	<description>I have a access query that is making me tear my hair out. My database has 40 fields that have three possible values (OK, NG, NA). I need to list only the entries that have NG in any one of those 40 fields. &lt;br /&gt;&lt;br /&gt; Basically each entry has a series of questions and each time the answer is NG the person using the database will put some additional information in the field after the OK/NG/NA field. This repeats for 40 different questions. &lt;br&gt;
So each seperate entry into the table has all 80 fields with the possible NG info. &lt;br&gt;
&lt;br&gt;
I need to craft a query that will only pull out the entries in the table that have NG in ANY of the 40 spots.&lt;br&gt;
&lt;br&gt;
I tried putting &quot;NG&quot; in the criteria for each of the 40 fields and I get no output at all. If I just do it in one it works ok.</description>
  	<guid isPermaLink="false">post:ask.metafilter.com,2008:site.39033</guid>
  	<pubDate>Sat, 27 May 2006 18:33:15 -0800</pubDate>
  	<dc:creator>JonnyRotten</dc:creator>
	
	<category>Access</category>
	
	<category>query</category>
	
	<category>criteria</category>
	
</item>
<item>
  	<title>By: Civil_Disobedient</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603007</link>	
  	<description>When you say &amp;quot;fields&amp;quot;, do you mean columns, or do you mean the corresponding row for a particular column?&lt;br&gt;
&lt;br&gt;
SELECT * FROM tableName WHERE (tableName.column1 LIKE &apos;%NG%&apos;) or (tableName.column2 LIKE &apos;%NG%&apos;) etc. etc. etc...&lt;br&gt;
&lt;br&gt;
If this isn&apos;t what you mean, please clarify your terms: columns, rows, cells, etc.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603007</guid>
  	<pubDate>Sat, 27 May 2006 18:37:48 -0800</pubDate>
  	<dc:creator>Civil_Disobedient</dc:creator>
</item>
<item>
  	<title>By: JonnyRotten</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603009</link>	
  	<description>Sorry. The 40 OK/NG/NA fields are all columns in each row.&lt;br&gt;
They appear in every row that is entered into the database.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603009</guid>
  	<pubDate>Sat, 27 May 2006 18:43:03 -0800</pubDate>
  	<dc:creator>JonnyRotten</dc:creator>
</item>
<item>
  	<title>By: blue mustard</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603010</link>	
  	<description>select * from  tablename where field1+field2+field3+[...]+field40   like &apos;%NG%&apos;</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603010</guid>
  	<pubDate>Sat, 27 May 2006 18:43:35 -0800</pubDate>
  	<dc:creator>blue mustard</dc:creator>
</item>
<item>
  	<title>By: JonnyRotten</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603011</link>	
  	<description>Where would I put that in my query? Right now I am trying to do it in the design view.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603011</guid>
  	<pubDate>Sat, 27 May 2006 18:45:50 -0800</pubDate>
  	<dc:creator>JonnyRotten</dc:creator>
</item>
<item>
  	<title>By: Doofus Magoo</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603013</link>	
  	<description>Or:&lt;br&gt;
&lt;br&gt;
SELECT * FROM tablename WHERE &apos;NG&apos; IN (field1, field2, field3...)&lt;br&gt;
&lt;br&gt;
Not sure how big your table is, but that may be quicker than concatenating the fields and doing a wildcard search.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603013</guid>
  	<pubDate>Sat, 27 May 2006 18:47:33 -0800</pubDate>
  	<dc:creator>Doofus Magoo</dc:creator>
</item>
<item>
  	<title>By: SuperSquirrel</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603014</link>	
  	<description>Switch to SQL view:&lt;br&gt;
&lt;br&gt;
While in Design View, go to &amp;quot;View&amp;quot; in the menu at the top, then click on &amp;quot;SQL View&amp;quot;.  Now you can type anything you want.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603014</guid>
  	<pubDate>Sat, 27 May 2006 18:50:31 -0800</pubDate>
  	<dc:creator>SuperSquirrel</dc:creator>
</item>
<item>
  	<title>By: Doofus Magoo</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603015</link>	
  	<description>If you&apos;re going with blue mustard&apos;s suggestion, you&apos;d put the following formula in the first &amp;quot;row&amp;quot; of a new column in the layout grid (where the field name normally goes):&lt;br&gt;
&lt;br&gt;
Expr1: field1+field2+field3+[...]+field40 &lt;br&gt;
&lt;br&gt;
Then for the criteria, you&apos;d enter (I think) LIKE &apos;%NG%&apos;&lt;br&gt;
&lt;br&gt;
Although I think maybe Access uses * for the wildcards instead of %.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603015</guid>
  	<pubDate>Sat, 27 May 2006 18:51:25 -0800</pubDate>
  	<dc:creator>Doofus Magoo</dc:creator>
</item>
<item>
  	<title>By: blue mustard</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603016</link>	
  	<description>Try this in Design view:&lt;br&gt;
Field:  [Field1]+[Field2]+[Field3]+...+[Field40]&lt;br&gt;
Criteria: Like &apos;*NG*&apos;</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603016</guid>
  	<pubDate>Sat, 27 May 2006 18:51:47 -0800</pubDate>
  	<dc:creator>blue mustard</dc:creator>
</item>
<item>
  	<title>By: JonnyRotten</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603026</link>	
  	<description>[Audits]![OpStdA] + [Audits]![DefectSampleA] + [Audits]![MasterLabelA] + [Audits]![BoardConditionA] + [Audits]![PartRankingA] + [Audits]![AssocOpStdA] + [Audits]![ScalesA] + [Audits]![AssyUsedA] + [Audits]![QualityAlertA] + [Audits]![SUCheckA] + [Audits]![MatLotTraceA] + [Audits]![ProdTicketA] + [Audits]![PokeYokeA] + [Audits]![5SA] + [Audits]![SORA] + [Audits]![CushionAlarmA] + [Audits]![CushLocA] + [Audits]![CycleTimeAlarmA] + [Audits]![CycleTimeA] + [Audits]![ChargeAlarmA] + [Audits]![ChargeTimeA] + [Audits]![KSSMoldTempA] + [Audits]![KSSFoamAgentA] + [Audits]![KSSStaplerA] + [Audits]![EORA] + [Audits]![CorrectLabelsA] + [Audits]![ClockNumberInfoA] + [Audits]![LabelsNumberedA] + [Audits]![LabelsAfterBinFullA] + [Audits]![CorrectLabelsOnBinA] + [Audits]![RepackProdA] + [Audits]![LabelsOnContA] + [Audits]![RelabelProdA] + [Audits]![WorkInstructionsA] + [Audits]![LotControlA] + [Audits]![QARoundsA] + [Audits]![FlashOKA] + [Audits]![ShortsA] + [Audits]![VisDefectsA] &lt;br&gt;
&lt;br&gt;
Thats what the field list looks like.. Good Grief.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603026</guid>
  	<pubDate>Sat, 27 May 2006 19:06:06 -0800</pubDate>
  	<dc:creator>JonnyRotten</dc:creator>
</item>
<item>
  	<title>By: JonnyRotten</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603033</link>	
  	<description>OK. Now I have it saying this:&lt;br&gt;
Expr1: [OpStdA]+[DefectSampleA]+[MasterLabelA]+[]![BoardConditionA]+[PartRankingA]+[AssocOpStdA]+[ScalesA]+[AssyUsedA]+[QualityAlertA]+[SUCheckA]+[MatLotTraceA]+[ProdTicketA]+[PokeYokeA]+[5SA]+[SORA]+[CushionAlarmA]+[CushLocA]+[CycleTimeAlarmA]+[CycleTimeA]+[ChargeAlarmA]+[ChargeTimeA]+[KSSMoldTempA]+[KSSFoamAgentA]+[KSSStaplerA]+[EORA]+[CorrectLabelsA]+[ClockNumberInfoA]+[LabelsNumberedA]+[LabelsAfterBinFullA]+[CorrectLabelsOnBinA]+[RepackProdA]+[LabelsOnContA]+[RelabelProdA]+[WorkInstructionsA]+[LotControlA]+[QARoundsA]+[FlashOKA]+[ShortsA]+[VisDefectsA]&lt;br&gt;
&lt;br&gt;
With the criteria of LIKE &amp;quot;NG&amp;quot;&lt;br&gt;
But when I run the query i get the error:&lt;br&gt;
Query must hav eat least one destination field</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603033</guid>
  	<pubDate>Sat, 27 May 2006 19:18:44 -0800</pubDate>
  	<dc:creator>JonnyRotten</dc:creator>
</item>
<item>
  	<title>By: delmoi</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603044</link>	
  	<description>Rather then trying to concat, just do &lt;br&gt;
&lt;br&gt;
You want to put something like &lt;br&gt;
&lt;br&gt;
&amp;quot;select * from Audits where ....&amp;quot;&lt;br&gt;
&lt;br&gt;
where the ellipsis is that expression.&lt;br&gt;
&lt;br&gt;
Also if I were you I would just to = rather then this concatination thing.  It should be a lot faster. &lt;br&gt;
&lt;br&gt;
&amp;quot;select * from audits where = OpStdA = &apos;NG&apos; or DefectSampleA = &apos;NG&apos; or BoardConditionA = &apos;NG&apos; or...&amp;quot;&lt;br&gt;
&lt;br&gt;
And just include one expression for each column.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603044</guid>
  	<pubDate>Sat, 27 May 2006 19:31:06 -0800</pubDate>
  	<dc:creator>delmoi</dc:creator>
</item>
<item>
  	<title>By: JonnyRotten</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603048</link>	
  	<description>I uploaded it to &lt;a href=&quot;http://jonsnews.vectorstar.net/QAAudits.mdb&quot;&gt;here&lt;/a&gt; if anyone wants to grab it and see if they can get it to work. I tried doing it the SQL expression way, but I still get no results from that either.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603048</guid>
  	<pubDate>Sat, 27 May 2006 19:35:31 -0800</pubDate>
  	<dc:creator>JonnyRotten</dc:creator>
</item>
<item>
  	<title>By: bim</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603049</link>	
  	<description>Just CASCADE your criterion slection like this and it will work:&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://img210.imageshack.us/img210/1118/mefiquestion2or.jpg&quot;&gt;LOOK AT ME!!!&lt;/a&gt;</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603049</guid>
  	<pubDate>Sat, 27 May 2006 19:35:42 -0800</pubDate>
  	<dc:creator>bim</dc:creator>
</item>
<item>
  	<title>By: orthogonality</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603050</link>	
  	<description>&lt;em&gt;&amp;quot;I tried putting &apos;NG&apos; in the criteria for each of the 40 fields and I get no output at all. If I just do it in one it works ok.&amp;quot;&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
No kidding: you criteria query ask for rows where ALL the answers where &apos;NG&apos;. You need 39 &amp;quot;or&amp;quot; clauses, or to do the clever hack blue musrtard suggests.&lt;br&gt;
&lt;br&gt;
You&apos;ve got  naive table structure with multiple (39) redundancies, and a good example of why thorough table design maters.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
As it happens, I encountered something similar while volunteering on a campaign; the voter-database vendor (Blaemire) voter table included each voter&apos;s votes for several campaigns, arranged just like your questionnaire: field after filed of &amp;quot;Primary 92&amp;quot;, &amp;quot;General 92&amp;quot;, etc.&lt;br&gt;
&lt;br&gt;
This made looking for patterns in the data a real chore: e.g., to find swing voters who voted in the republican primaries in off year elections, select * from voters where &amp;quot;Primary 92&amp;quot; = &apos;D&apos; and &amp;quot;Primary 94&apos; = &apos;R&apos; and &amp;quot;Primary 96&amp;quot; = &apos;D&apos; and &amp;quot;Primary 98&amp;quot; ....&lt;br&gt;
&lt;br&gt;
(Even more fun as they may not have voted in the primary, etc.)&lt;br&gt;
&lt;br&gt;
The solution is to re-do your database, trading space for less cumbersome queries:&lt;br&gt;
&lt;br&gt;
create table election( id autoincrement, year int, is_primary int ) -- don&apos;t use bit for is_primary, bit is less time-efficient&lt;br&gt;
insert election values ( 1996, 1 ) -- 1996 primary&lt;br&gt;
insert election values ( 1996, 0 ) -- 1996 general&lt;br&gt;
-- etc.&lt;br&gt;
&lt;br&gt;
create table vote_type ( id auto_increment, vote char(1) ) ;&lt;br&gt;
insert vote_type values ( &apos;D&apos; ) -- etc., one row for vote type &lt;br&gt;
&lt;br&gt;
create table votes ( id autoincrement, election_id int, voter_id int, vote_type_id int ) &lt;br&gt;
-- put a clustered index on (voter_id, election_id), and an index on election id, and add referential integrity constraints&lt;br&gt;
&lt;br&gt;
-- Now populate your new tables; this will take a long time, and create millions of rows, but it&apos;s worth it&lt;br&gt;
&lt;br&gt;
insert votes&lt;br&gt;
select a.voter_id, ( select election_id from election e where e.year = 1996 and e.is_primary = 1 ), a.&amp;quot;Primary 1996&amp;quot;&lt;br&gt;
where a.&amp;quot;Primary 1996&amp;quot; is not null &lt;br&gt;
insert votes &lt;br&gt;
select a.voter_id, ( select election_id from election e where e.year = 1996 and e.is_primary = 0 ), a.&amp;quot;General 1996&amp;quot;&lt;br&gt;
where a.&amp;quot;General 1996&amp;quot; is not null &lt;br&gt;
-- etc., one select per election. &lt;br&gt;
&lt;br&gt;
Now instead of a horizontal list of elections with arbitrary names, we have a vertical list of one row per voter per election.&lt;br&gt;
&lt;br&gt;
To find voters who voted in Dem Presidential primaries and Republican off-year primaries, we just have to ask:&lt;br&gt;
&lt;br&gt;
Voters who voted &apos;D&apos; (or didn&apos;t vote) in all Presidential primaries, and voted &apos;R&apos; (or didn&apos;t vote) in all off-year primaries:&lt;br&gt;
select voter_id from voter a&lt;br&gt;
where not exists ( select * from votes b, elections c, voter_type d where b.election_id = c.id and b.vote_type_id = d.id &lt;br&gt;
and d.vote = &apos;R&apos; and c.year % 4 = 0 and c.is_primary = 1 and b.voter_id = a.voter_id)&lt;br&gt;
and not exists ( select * from votes b, elections c, voter_type d where b.election_id = c.id and b.vote_type_id = d.id &lt;br&gt;
and d.vote = &apos;D&apos; and c.year % 4 = 2 and c.is_primary = 1 and b.voter_id = a.voter_id)&lt;br&gt;
&lt;br&gt;
Of course, creating views named primary_votes or off_year_primaries will make the SQL more self-explanatory, and is left as an exercise for the reader.&lt;br&gt;
&lt;br&gt;
The election problem, of course, is (almost) isomorphic to your problem, and the solution is (almost) the same.&lt;br&gt;
&lt;br&gt;
1. create a table of possible answers, &amp;quot;OK&amp;quot;, &amp;quot;NG&amp;quot;, &amp;quot;NA&amp;quot; -- this is isomorphic to the vote_type table&lt;br&gt;
2. create a table of questions, in your case forty of them -- isomorphic to the reelections table&lt;br&gt;
3. create a table that relates an answer-series (a voter, each row in your current table) to each of the forty questions. This is just like a normal many-to-many table, but includes an additional field for the actual answer.&lt;br&gt;
4. either add to the third table a column for the additional NG information (sloppy) or put that in another table that joins on the id in the third table (better normalization).&lt;br&gt;
Finally, select all rows in the many-to-many table with answer_type = &amp;quot;NG&apos;</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603050</guid>
  	<pubDate>Sat, 27 May 2006 19:36:39 -0800</pubDate>
  	<dc:creator>orthogonality</dc:creator>
</item>
<item>
  	<title>By: bim</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603061</link>	
  	<description>LOL. Dudes, this is crazy. Don&apos;t bring in a cannon to kill a mouse! &lt;br&gt;
&lt;br&gt;
I looked at the file that was uploaded. You have a table but haven&apos;t created a query yet. If you create the query then do as I said above, it will work. I did a test example and it worked just fine.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603061</guid>
  	<pubDate>Sat, 27 May 2006 19:42:43 -0800</pubDate>
  	<dc:creator>bim</dc:creator>
</item>
<item>
  	<title>By: bim</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603063</link>	
  	<description>&lt;a href=&quot;http://img210.imageshack.us/img210/8857/mefitable2ji.jpg&quot;&gt;Here&apos;s the database table&lt;/a&gt; that I created in excel and then imported into ACCESS.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603063</guid>
  	<pubDate>Sat, 27 May 2006 19:48:42 -0800</pubDate>
  	<dc:creator>bim</dc:creator>
</item>
<item>
  	<title>By: bim</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603070</link>	
  	<description>And here&apos;s the little database that I created as a test example. One table one query.&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://z11.zupload.com/download.php?file=getfile&amp;filepath=28686&quot;&gt;sample database&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Just open the database, double click on query1 to see the data, then click on that little pencil &amp;amp; protractor icon to the left of the save disk icon (ie.e the one on the far left) to switch to the design view and see how I set the query up, then I click the exclamation point icon to run the query and voila.&lt;br&gt;
&lt;br&gt;
It&apos;s easy.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603070</guid>
  	<pubDate>Sat, 27 May 2006 19:59:19 -0800</pubDate>
  	<dc:creator>bim</dc:creator>
</item>
<item>
  	<title>By: JonnyRotten</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603079</link>	
  	<description>Bim&lt;br&gt;
&lt;br&gt;
I deleted the queries as they didn&apos;t work, but believe me I have been making and remaking them for hours.&lt;br&gt;
The cascading would work perfect if it wasn;t so many fields. I tried doing it, and could only cascade to the 8th level down. Then I ran out of spots to go down.&lt;br&gt;
&lt;br&gt;
In regards to it being poor table design, From the Process Audit Sheet I trying to replicate, there are 40 lines each one has a Ok/NG/NA check box, followed by a line for description of the problem, then a third YES/NO box for if the problem was addressed. &lt;br&gt;
Each line is a completely different question, and I only the lines marked NG Need to have anything in the other two places.&lt;br&gt;
I need to make one form that they can quickly go through and combo box the OK/NG/NA part and eloborate from there. I have been beating my head for days trying to think of a better table structure.  So I guess if its &amp;quot;naive table structure&amp;quot; I&apos;ll have to admit I could not for the life of me think of a better way to do it.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603079</guid>
  	<pubDate>Sat, 27 May 2006 20:05:06 -0800</pubDate>
  	<dc:creator>JonnyRotten</dc:creator>
</item>
<item>
  	<title>By: blue mustard</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603080</link>	
  	<description>From design view, move into SQL view (view menu), and paste the following, overwriting whatever is there:&lt;br&gt;
&lt;br&gt;
select  * From Audits where [OpStdA]+[DefectSampleA]+[MasterLabelA]+[BoardConditionA]+[PartRankingA]+[AssocOpStdA]+[ScalesA]+[AssyUsedA]+[QualityAlertA]+[SUCheckA]+[MatLotTraceA]+[ProdTicketA]+[PokeYokeA]+[5SA]+[SORA]+[CushionAlarmA]+[CushLocA]+[CycleTimeAlarmA]+[CycleTimeA]+[ChargeAlarmA]+[ChargeTimeA]+[KSSMoldTempA]+[KSSFoamAgentA]+[KSSStaplerA]+[EORA]+[CorrectLabelsA]+[ClockNumberInfoA]+[LabelsNumberedA]+[LabelsAfterBinFullA]+[CorrectLabelsOnBinA]+[RepackProdA]+[LabelsOnContA]+[RelabelProdA]+[WorkInstructionsA]+[LotControlA]+[QARoundsA]+[FlashOKA]+[ShortsA]+[VisDefectsA] like &apos;*NG*&apos;&lt;br&gt;
&lt;br&gt;
You canthen switch back to Design view, if you like.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603080</guid>
  	<pubDate>Sat, 27 May 2006 20:05:12 -0800</pubDate>
  	<dc:creator>blue mustard</dc:creator>
</item>
<item>
  	<title>By: JonnyRotten</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603086</link>	
  	<description>Blue Mustard! That worked perfectly! I cannot for the life of me see whats different in yours then the ones I had tried, but it works so You&apos;re my hero.&lt;br&gt;
&lt;br&gt;
orthogonality I get what your saying about doing this over several different tables, But I am just using this and a few other small tasks to learn Access. This is about my third project I&apos;ve done, so I expect my data to be on the cumbersom side.&lt;br&gt;
&lt;br&gt;
Thanks to everyone for the great advice!</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603086</guid>
  	<pubDate>Sat, 27 May 2006 20:17:42 -0800</pubDate>
  	<dc:creator>JonnyRotten</dc:creator>
</item>
<item>
  	<title>By: SNACKeR</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603216</link>	
  	<description>In case you are interested, this is probably how I would do the model, based on what I gleaned from your description:&lt;br&gt;
&lt;br&gt;
Person table&lt;br&gt;
=========&lt;br&gt;
PersonID (PK autoincrement not null)&lt;br&gt;
FirstName (varchar (50) not null)&lt;br&gt;
LastName (varchar (50) not null)&lt;br&gt;
&lt;br&gt;
Issue table&lt;br&gt;
========&lt;br&gt;
IssueID (PK autoincrement not null)&lt;br&gt;
PersonID (int not null)&lt;br&gt;
IssueStatusID (int not null)&lt;br&gt;
Description (varchar (1000) null)&lt;br&gt;
Resolved (bit null)&lt;br&gt;
&lt;br&gt;
IssueStatus table&lt;br&gt;
=============&lt;br&gt;
IssueStatusID (PK autoincrement not null)&lt;br&gt;
Name (varchar (10) not null)</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603216</guid>
  	<pubDate>Sun, 28 May 2006 05:28:25 -0800</pubDate>
  	<dc:creator>SNACKeR</dc:creator>
</item>
<item>
  	<title>By: JonnyRotten</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603226</link>	
  	<description>Well. Let me set the scenerio a bit better for you. The auditor goes from one press to the next in our factory at each press they fill out a 40 question audit form. Starting a new form each press. Each press visit will need to have all 40 questions tied to that visit, and they will be doing Audits on 60 presses a night. I figured that 60 rows X 3 shifts would be more efficient then 40 seperate rows (one for each questions) X 60 visits X 3 shifts.&lt;br&gt;
&lt;br&gt;
Currently the department manager takes all the filled out forms from the previous three shifts each day and sorts them for any ones that have any No Good fields marked. Then he inputs them into this crazy excel spreadsheet, and the entire process takes him 3 hours a day to do.&lt;br&gt;
Now he wants to go and pay 50 thousand for a program lets the auditors enter the data on a mobil device, and then gives him the reports he needs.&lt;br&gt;
&lt;br&gt;
As the IT guy at our factory I feel thats just silly and I think it can be done with a access database just as easily, and save the company some money.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603226</guid>
  	<pubDate>Sun, 28 May 2006 06:07:11 -0800</pubDate>
  	<dc:creator>JonnyRotten</dc:creator>
</item>
<item>
  	<title>By: SNACKeR</title>
  	<link>http://ask.metafilter.com/39033/Access-Query-headaches#603621</link>	
  	<description>Yeah, $50,000 is crazy. We are talking about a &lt;strong&gt;very &lt;/strong&gt;simple application here. Good luck on your quest!</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.39033-603621</guid>
  	<pubDate>Sun, 28 May 2006 18:17:11 -0800</pubDate>
  	<dc:creator>SNACKeR</dc:creator>
</item>

    </channel>
</rss>
