Results 1 to 4 of 4
  1. #1
    char is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    29

    web compatible query and relationship

    I am creating a database in the web compatible format of Access.

    I have two tables [Welds] and [Tests] ... Each test report contains around 6 welds which could pass or fail. I have done a look up in my [Tests] with a field name "passed" and a field named "failed" then selected from [Welds] which "Weld ID" has passed or failed in that particular test.
    However I want to be able to then search by "weld ID" to see all the tests that have been done on that particular weld.
    Does anyone know if this is possible and what route I should go down to do it?



    Any suggestions would be greatly appreciated.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,622
    Why have two fields? Why not one field with two possible values - P or F?

    Should be possible in query that joins tables.

    Want to provide latest version of your db? The one I previously downloaded does not have table Welds. That version shows storing passing and failing welds into multi-value fields of Test table. Have you changed the structure?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    char is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    29
    In the db I sent it is called [FBWelding]..
    Basically one test looks at many different welds, them welds will appear in lots of different tests and could pass or fail the particular test. I want to be able to search a weld id and it then list all the associated tests.
    Because it tests so many different welds I needed to select multiple values which passed and mutliple values which failed but this is making searching the welds very difficult.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,622
    I don't use multi-value fields but then I have never built a web database.

    If you want to filter/sort multi-value field data will need to create queries that expand the multi-value field data to separate records. Review:
    http://office.microsoft.com/en-us/ac...001233722.aspx
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 0
    Last Post: 07-31-2012, 12:25 PM
  2. Replies: 0
    Last Post: 06-19-2012, 12:39 PM
  3. Replies: 5
    Last Post: 04-18-2012, 07:12 AM
  4. Query issues due to a bad relationship!
    By annemrosenberg in forum Queries
    Replies: 18
    Last Post: 09-12-2011, 01:50 PM
  5. Query with many-to-many relationship
    By jhollingsh615 in forum Queries
    Replies: 4
    Last Post: 05-18-2011, 11:31 AM

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