Results 1 to 5 of 5
  1. #1
    amir_9 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Mar 2012
    Posts
    3

    Two MS Access questions

    Hi guys, I am in need of a little bit of help with my MS access assignment. I appreciate your time and help



    Here goes

    I'm creating a Dating Database on MS access, Now I've been given the attributes for all the tables. They are five (Client, Hobby, Meeting, ClientHobby, ClientMeeting)

    This is the first question

    Now I'm needed to create a form which allows me to enter the client data + at least two interests and their age calculated from their DOB. Seeing as I was only asked to put DOB in the actual Client table, I thought I'd create an Age query and then make that form out of the Age Query. (I already successfully managed to get the Age out of DOB in that query in a field of its own)

    However, how can I add the hobbies field to that age query so I can finally create the form that I am required to do?


    --------

    Second, I am to create a query which will be used for ‘matching’ clients. The criteria that you will use are: gender, age (using a range e.g. 20-25), interests/hobbies and city/town, this query ill be used to create a report which lists all the clients who match the entered criteria. How am I to do that?


    Once again, thanks for your time.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    You don't need a query just for the age calculation. This calculation can be done in a textbox on a form or report.

    I think you need to consider a form/subform arrangement.

    Main form bound to Client table. Subform bound to ClientHobby table, another subform bound to ClientMeeting table.

    Must input records into Hobby and Meeting tables before they will be available for selection in the ClientHobby or ClientMeeting subforms.

    Access Help (or Google for tutorials, or textbook) has guidelines on building form/subform.

    For your 'matching' report, review tutorials at http://datapigtechnologies.com/AccessMain.htm especially the one on Creating a Basic Search Form in the Access Forms: Tips & Techniques section. The parameterized query could be the RecordSource for a report. Again, refer to Access Help (or Google, or textbook) for guidelines on building report. The age range criteria will be the trickiest. If you have problems with that, when you get to that point, post question.
    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
    amir_9 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Mar 2012
    Posts
    3
    Thanks for your response, I've managed to add ''Hobbies'' to the client form. I'm trying to get the textbox for that to grab the information from the ''Clienthobby'' section, but to no avail. Any help?
    Last edited by amir_9; 03-07-2012 at 12:49 PM.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    I don't understand what you have done. Do you want to provide project for analysis?
    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
    amir_9 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Mar 2012
    Posts
    3
    Thanks for your help, managed to get it all working.

    Cheers!

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

Similar Threads

  1. Questions Regarding MS Access Memory
    By JeffG3209 in forum Access
    Replies: 5
    Last Post: 08-10-2011, 05:26 PM
  2. New to Access Questions
    By mneko in forum Access
    Replies: 2
    Last Post: 03-25-2011, 11:16 AM
  3. Some Access Questions
    By amegahed3 in forum Access
    Replies: 1
    Last Post: 04-11-2010, 12:24 AM
  4. HELP, Access questions.
    By brown in forum Access
    Replies: 0
    Last Post: 04-21-2009, 03:31 PM
  5. New to Access and have questions
    By MichelleFinn in forum Access
    Replies: 1
    Last Post: 04-04-2008, 06:30 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