Results 1 to 13 of 13
  1. #1
    tabbycat1234 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jul 2011
    Posts
    26

    Cant Figure This Out

    Can someone look at this datebase and tell me what I am doing wrong when trying to join these forms and tables.



    When I open the main form, I want to be able to click on each button and put in information under that form for that student. When I go to the second student I want to be able to do the same thing.

    When I go back to student one, I want to be able to click on the button to see what I check under that student

    Any help would be appreciated

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    You did not attach file or post a link.
    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
    tabbycat1234 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jul 2011
    Posts
    26

    It wouldn't Load

    The file would not load, is there anything I can do to get someone to look at it?

    Thanks

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Why wouldn't it load? It is an Access file over 500kb? Run Compact & Repair - still too big? Zip it and attach folder up to 2mb. If still won't load can upload to fileshare site such as box.net and post link to file.
    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.

  5. #5
    tabbycat1234 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jul 2011
    Posts
    26

    Here is the File

    Thank you for the idea, here is the file in a zip folder

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Would have to open the form filtered to the related record. This would mean more code.

    Instead, I suggest you make this a form/subform arrangement by using a tab control. Leave the Main form bound to Main table. Place the Main form controls on page 1 of the tab control. Create 4 more pages on the tab control, one for each of the 'child' forms. Place a subform container control on each of the 4 tab pages. Set the container control SourceObject, Master/Child links properties. This arrangement eliminates the need for the buttons.

    These tables are related as one-to-many. Is this correct? Can each student have multiple records in each of the dependent tables? The forms don't seem to be set up to allow this.
    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.

  7. #7
    tabbycat1234 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jul 2011
    Posts
    26

    Thanks

    I appreciate your advice, I will have to research what you said to figure out how to do it. I have alot more forms that go on the main page. I deleted them so that it would load. Do you happen to know of a tutorial that would explain how to do what you are suggesting?

  8. #8
    tabbycat1234 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jul 2011
    Posts
    26
    Each student can have only one record in the other forms. How do I change the relationship and what would I change it to?

  9. #9
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    That is a one-to-one relationship. Will there always be a record in each of the dependent tables for each student? If this is the case, really could be all one table. A lot of Yes/No fields like this suggests that tables are not 'normalized'. Your data entry is simple but structure will probably cause issues when you want to query the data and manipulate for summation and grouping.
    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.

  10. #10
    tabbycat1234 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jul 2011
    Posts
    26
    No there will not always be information in the subforms. I have had all the information in one big form at one time but I just assumed that made it to difficult. If you think it is better to leave it as one big table I might just leave it like I had it before.

  11. #11
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    If there won't always be a record then separate tables is appropriate. It is the Yes/No fields that are the real concern.

    Check this article about the tab control, it also has info about putting subform on tab control http://office.microsoft.com/en-us/ac...001230049.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.

  12. #12
    tabbycat1234 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jul 2011
    Posts
    26
    I find the yes and no fields good because if the answer is yes then the operator puts a check mark in the correct box. If the answer is no the operator does not have to do anything with that field. Is there another way that you would suggest doing that?

  13. #13
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Yes, that simplifies data entry but what if you wanted to build a report that sorted and grouped records by the type of alternative media? If you don't think you will ever face this issue, then stay with what you have. It is possible to do this sort of data manipulation with your structure using UNION query, it's just a little more complicated and unconventional.
    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. can't figure out what i'm doing wrong
    By m0use in forum Queries
    Replies: 4
    Last Post: 06-16-2011, 09:18 AM
  2. Need a query to figure all possible combinations
    By julestrip in forum Queries
    Replies: 1
    Last Post: 05-27-2011, 07:23 AM
  3. Cannot Figure this query out
    By ryan1313 in forum Queries
    Replies: 6
    Last Post: 08-13-2010, 12:54 PM
  4. Easy question...so why can't I figure it out?
    By bdrago527 in forum Access
    Replies: 1
    Last Post: 10-02-2008, 02:40 PM
  5. Can't Figure It Out!!
    By jdohio5 in forum Database Design
    Replies: 1
    Last Post: 05-04-2006, 06:49 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