Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    Join Date
    Feb 2021
    Posts
    7

    Can anyone help with this access exercise?


    Define functional requirements, i.e. develop a functional model in the form of an data flow
    diagrams and a data model in the form of an entity relationship diagram for the system
    described below. Implement the data model in Access database management system.
    Prepare a query as required in the text.

    A student tourist club wants to develop a system thanks to which students can join the club
    and sign up for trips organized by the club.
    When enrolling in the club, a student must provide basic information such as first name and
    surname, student's ID, age and gender. These data must be stored in the system.
    Of course, students can opt out of the club at any time. Then, information about them is
    deleted by the system.
    The club's board inputs information about new trips in the system. Information about a trip
    should include its title, start date, end date, limit of participants, and type of trip (for
    example: hiking, biking, horseback riding or canoeing).
    Students can request information on trips, and the system should provide such information.
    Students are signed up on trips on a first come, first served basis. During registration the
    number of signed up students is checked. If the limit is exceeded, a student will not be
    signed up. Then respectively, a student should receive information about signing up for a trip
    or about rejection.
    At the request of the club's board, the system should prepare a list of current club members
    in alphabetical order. Prepare a query that will perform this function in Access.

    Thanks for any help

  2. #2
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    Yes - certainly can.

    But I'd like to see what you have done first and where you are stuck, so that we're not simply going to become LetUsDoYourHomeWork.com
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  3. #3
    Join Date
    Feb 2021
    Posts
    7
    So, i made relations, but doesn't know how to made query and how to connect this tables with each other

  4. #4
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    Relationships are the connections between the different tables.

    Can you post up a picture of your tables in the relationship window.
    Then someone can help in pointing you in the right direction.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  5. #5
    Join Date
    Feb 2021
    Posts
    7
    That's what I did

    Click image for larger version. 

Name:	acces_relationship (1).png 
Views:	34 
Size:	42.4 KB 
ID:	44202

  6. #6
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    Lot's of errors in that I'm afraid.

    I definitely think you need to learn a little about Primary Keys and Foreign Keys before going any further.

    They are well demonstrated here http://www.databaseanswers.org/data_...ents/index.htm
    There are many examples on that site that may help you further down the correct path.

    Have a read here as well http://www.databaseanswers.org/approach2db_design.htm

    Come back once you have some improved table designs.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  7. #7
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2016
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,725
    Define functional requirements, i.e. develop a functional model in the form of :
    -a data flow diagrams and
    -a data model in the form of an entity relationship diagram for the system described below

    -Implement the data model in Access database management system.
    -Prepare a query as required in the text.


    Did you create a dfd? If so,can you post it?

    In addition to Minty's comment, I suggest you work through this tutorial from RogersAccessLibrary. It will take about 45-60 minutes, but you will learn a process that you can use with any database. You will experience the process by working through his sample. Probably the best 1 hour for learning about entities, relationships.....

    Good luck.

  8. #8
    Join Date
    Feb 2021
    Posts
    7
    This is my dfd diagram
    Click image for larger version. 

Name:	final_test_dfd).png 
Views:	33 
Size:	13.3 KB 
ID:	44203Click image for larger version. 

Name:	dfd_final_test.png 
Views:	32 
Size:	30.3 KB 
ID:	44204

  9. #9
    Join Date
    Feb 2021
    Posts
    7
    Thanks for help to everyone

  10. #10
    ssanfu is offline Master of Nothing
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Looking at the relationship window in Post #5, I see several issues.
    You shouldn't use spaces in object names.
    Instead of "First Name", use "First_Name" or better yet "FirstName".
    Instead of "Start Date", use "Start_Date" or better yet "StartDate".

    Beware of Reserved Words.. "Type" is a reserved word in Access, plus it is not very descriptive. "Type" of what??? Wouldn't "TripType" be a better field name?
    Problem names and reserved words in Access

    "Limit"??? Wouldn't "SignUpLimit" be a better field name?


    Why is there a 1-to-1 relationship between table "Students" and table "Registrations"? How many times does a student have to sign up? Wouldn't you think the "RegistrationDate" should be in the "Students" table?

    I would rename the "Club" table to "TripInfo". Why do you have a 1-to-Many relationship between "StudentsStudentID" and "Club.Title"?
    One student can sign up for many trips and one trip can have many students. Therefore, it is a Many-to-Many relationship. So maybe you need another table?? (a Junction table)


    =============================
    In my tables, the PK field is ALWAYS an Autonumber type field. That meany all FK fields MUST be Long Integer type fields.



    Minty and orange have given you lots of studying to do...
    I'll be interested to see what you come up with in your redesign.

  11. #11
    ZooTycoon is offline Novice
    Windows 10 Access 2007
    Join Date
    Feb 2021
    Location
    Israel
    Posts
    1
    How do you plan on getting the info from the students? Or how will they rigister? Will they send or hand it in and then the Admin person captures all on the system you creating?
    Or would you want the student to submit all data themselves on an online system. Maybe since you only starting out now you need to make that choice.
    Having a Access/Web solution or fully web might be the way to go depending on your plan.

  12. #12
    Join Date
    Feb 2021
    Posts
    7
    Can you tell me if it is correct now? What else should I change?
    Click image for larger version. 

Name:	acces.png 
Views:	22 
Size:	10.4 KB 
ID:	44207

  13. #13
    kd2017 is offline Well, I tried at least.
    Windows 10 Access 2016
    Join Date
    Jul 2017
    Posts
    1,142
    Your relationships look good!

    1) I would get rid of the forward slash in the [student/member] table. Try not to have any special characters or spaces in table names, field names, any object names, but underscores are fine.

    2) Not required but on junction tables like your [enrollment] table I like to still have an autonumber field as the primary key. That said, you would still create a unique index on the student_id and trip_id pair. Re: https://stackoverflow.com/questions/...cess-databases

    3) Instead of a trip_type field I would create a trip_type lookup table and the trips_info table would reference this new lookup table with an foreign key trip_type_id field. This is more flexible and makes adding new trip types in the future much easier. DON'T be tempted by lookup fields.

  14. #14
    CarlettoFed is offline Competent Performer
    Windows 7 64bit Access 2013 32bit
    Join Date
    Dec 2019
    Posts
    257
    To give a complete judgment on your work you should also see how you managed the various properties of the fields and the indexes in the tables so it would be more effective if you attached a sample file.

  15. #15
    CarlettoFed is offline Competent Performer
    Windows 7 64bit Access 2013 32bit
    Join Date
    Dec 2019
    Posts
    257
    Sorry but there was an involuntary sending.

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

Similar Threads

  1. Replies: 3
    Last Post: 11-15-2019, 07:23 AM
  2. Replies: 3
    Last Post: 08-02-2014, 09:48 PM

Tags for this Thread

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