Results 1 to 4 of 4
  1. #1
    Disna is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Sep 2013
    Posts
    2

    Lightbulb Need help with relationship & Search field

    Hi all experts,

    I have created 3 tables for volunteers who work for small community org.
    My tables are -
    1. Personal details (Name, Address, DOB etc..)
    2. Skill set - For same peoples skills Ex- First Aid, Drivers Licence, WWC etc..)
    3. Onsite Training ( Transport clients, hoist clients, wheel chair use etc..)

    On my personal details table I have auto number as primary key. All the volunteers have their unique security numbers. On my other tables I do not have any primary keys or foreign keys. I understand I need some sort of keys to do the relationship but I do not know which field to use as primary key. ????? This is one problem



    I have created three forms for each table. I am going to created a main form and tabs on it to brows other forms (Hyperlink) Now I need Search Name field (Combo box or search box) on each form. Then user can look-up (search) for the relevant name to enter data. I do not know how to do this. ????? This is the second problem.
    I hope you understand what I am talking about. I am an absolute beginner and learnt this far from online free tutorials and books. Please someone take some time to explain this to me.
    File attached for easy reference.
    Thank you
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,795
    A parameterized query is one method. Review http://www.datapigtechnologies.com/f...tomfilter.html
    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
    Disna is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Sep 2013
    Posts
    2
    Hi June7, The Grand master

    For a parameterised query do I need to do relationships between tables. If so what fields should I use as PK and FK. This is the point I can not understand as a beginner. Please see my attached file. Would appreciate a little bit of explanation like "do this first" and then "Do this" for a beginner.

    Thanks.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,795
    Will each person have only one record in Training and Skills tables? If so, might as well just have all 3 tables combined as one (a big flat file like a spreadsheet).

    You need an understanding of relational database concepts and data normalization before proceeding any further. See if this helps http://forums.aspfree.com/microsoft-...es-208217.html
    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: 3
    Last Post: 09-02-2013, 04:33 PM
  2. Replies: 5
    Last Post: 06-24-2013, 08:42 AM
  3. Replies: 3
    Last Post: 08-22-2012, 03:28 AM
  4. Replies: 7
    Last Post: 08-08-2012, 03:28 PM
  5. Replies: 2
    Last Post: 08-31-2010, 08:57 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