Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by swaybright

  1. swaybright

    Disable auto contract on ActiveX treeview control

    btw, I am using Access 2013 with Microsoft TreeView Control, version 6.0
  2. swaybright

    Disable auto contract on ActiveX treeview control

    I have an treeview control on my form and I am working on coding specific actions when nodes are clicked using the .HitTest(x,y) function. The problem I am having is when I single click (right or left) on a node that has children, the treeview control automatically expands the node so the...
  3. swaybright

    One to one relationship table design problem

    Ok, so I have a table for measurement records as Duane suggests. I am running into an issue in that some measurement values are text and others are numbers. Any suggestions as to how to keep text out of number fields? Thanks!
  4. swaybright

    One to one relationship table design problem

    Laurie, Thanks for the question, because I have thought more about the point you are making. Having stepped back from the problem, I think rather than having the awkward 1 to 1 tables, I should instead place the a Sample foreign key into the conditions table and create 3 new tables: TestList...
  5. swaybright

    One to one relationship table design problem

    I chose to make a new table for each test because each test has different measurements. So one test will measure say length and weight, while another will measure height and still another may measure softness and stretchiness. Each test has different fields to put values in, so if I were to...
  6. swaybright

    One to one relationship table design problem

    I am trying to set up a correct normalized table structure that involves what I supposed should be a series of one to one relationships, but as I am thinking through the outputs of the database, I am not so sure. The basic problem is as follows: I have a table of samples upon which I may or may...
  7. swaybright

    Finding parent records that have only specific child record values

    Thanks Duane! I think I am on the right track to solve the problem. I found the FAQ for the listboxes. http://www.tek-tips.com/faqs.cfm?fid=6326 I ought to be able to slide the items between the IN and Not IN boxes and have super flexibility to build the query to not only as I described but...
  8. swaybright

    Finding parent records that have only specific child record values

    So I created a subquery with the same syntax as above except with Where JellyBeans.JellyBeanID NOT IN (4) as the criteria for BowlID So something like this: Select BowlID From Bowls...(all the join statements) Where JellyBeans.JellyBeanID IN (1, 2, 3) And Bowls.BowlsID Not In (Select Bowl ID...
  9. swaybright

    Finding parent records that have only specific child record values

    Thanks Andy! That almost does what I want and it helps me get moving in the right direction. However, it returns all bowls that have red, white or blue regardless of the other colors that are present. I would like it to exclude bowls that would (in your example) contain black so that the...
  10. swaybright

    Finding parent records that have only specific child record values

    My actual application is a bit more complex, but this example demonstrates what I want to accomplish. I have 5 tables: JellyBeansJellyBeanID Color CupsCupID CupName CupDetailsCupDetailsID CupID JellyBeanID NumberofBeans BowlsBowlID BowlName SurveyScore BowlDetailsBowlDetailsID BowlID CupID...
  11. swaybright

    entering time without typing the colon

    Is there a way for users to enter a time into a date/time field without needing to type the colon? Specifically, users should input time in military format but if they forget to put a zero in front of times earlier than 10:00, I would like the field to correct and accept the value...
  12. swaybright

    too few parameters expected 1 in a query referencing a subform control

    Great point, Andy. that would have certainly been my next issue. Thanks for thinking about my problem. I have implemented PH's solution with great success. I am still curious about why my query failed. It feels like some basic limitation in access; like one cannot reference that many nested...
  13. swaybright

    too few parameters expected 1 in a query referencing a subform control

    Very nice solution! Thank you. Your approach is much more elegant than mine. Any thoughts on why my approach failed? Do I have a syntax error or a logic flaw? In this case, your simple approach is best, but I may run into a future case where something like what I tried would be a necessary...

Part and Inventory Search

Back
Top