Page 2 of 2 FirstFirst 12
Results 16 to 28 of 28
  1. #16
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    You are just using queries and their Datasheet view. How did you want to select the Dr.? If you put = "Dr. Joe" in the Criteria row of the design view of the query it will add the WHERE clause to your query.

  2. #17
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    It needs to match your [Doctor] field value exactly. You may find you have selected a ForeignKey field of a table which should contain the PrimaryKey (PK) value of the Doctor and not their name.

  3. #18
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    BTW, here's a good reference site and some words of wisdom for designers: http://access.mvps.org/access/tencommandments.htm

  4. #19
    Oppogo is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Dec 2015
    Posts
    12
    I figured out the query thing, didnt notice this post had page 2 so i have been editing my recent post.

    Anyway, I still cant manage to allow patients to choose multiple illnesses as it breaks the relationship for some reason and then nothing displays under doctors anymore. Any ideas?

  5. #20
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Each illness is probably a separate record in the illness table right? I'm not sure I understand when you say "it breaks the relationship"!

  6. #21
    Oppogo is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Dec 2015
    Posts
    12
    Yes, each illness is a seperate entry, on patients table it's a dropdown box with checkboxes. If i create the dropdown box so it allows multiple values (multiple checks), i am forced to remove my relationship between illness and illness ID (the relationship image), after i have changed it to be multiple choice, i replicate the relationship again, however it doesnt work as it did with single choice, any checks made do not appear on doctor patient subtable (Doctors table in image), The + icon as it is disappears alltogether. It may be my limited knowledge, i cannot fix that.

  7. #22
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Can you describe what you think it *should* look like with multiple illnesses? Are you trying to view more than one patient? More than one Doctor?

  8. #23
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    There are limitations to the Datasheet view in Access but it is not an Access limitation, just the Datasheet view. You would be surprised at what you can do with a Form. Were you planning on just using the built in display features of Access and not building a form?

  9. #24
    Oppogo is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Dec 2015
    Posts
    12
    It's not that i want to view anything, i want to input a patient, lets say July, she has a headache and a toothache, i can't do that since i can only input a single illness. Once i make it that i can input multiple, it breaks my database altogether. I don't know how to explain it, i could just add another dropdown menu, it's not really that big of a deal, was just wondering why that happens

  10. #25
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Well I'm sorry but I cannot explain the results you are getting. As I asked before, are you NOT going to create any Forms, just use the built in facilities of native Access?

  11. #26
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Is this a class assignment of some kind?

  12. #27
    Oppogo is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Dec 2015
    Posts
    12
    You could say that, however the teacher doesnt even run over these things. We are just told to make a database and that's it, not rly much to go from. Anyway, i would consider this good enough for my needs, thanks for all the helping tips.

  13. #28
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    I'll go ahead and mark this thread a Solved for you and you're very welcome.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 8
    Last Post: 11-05-2015, 05:52 AM
  2. Patient database
    By Addanny in forum Access
    Replies: 4
    Last Post: 10-02-2013, 06:59 PM
  3. Creating simple database
    By Joopster in forum Access
    Replies: 3
    Last Post: 01-27-2013, 02:32 PM
  4. Replies: 1
    Last Post: 01-20-2011, 11:23 AM
  5. Patient Database
    By labadee in forum Database Design
    Replies: 1
    Last Post: 06-27-2010, 10:53 PM

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