Solved

Check boxes and data in a field in Access 2007

Posted on 2013-01-08
1
200 Views
Last Modified: 2013-01-14
I am going to try a different way to add skills based on my previous posts.

In my database I have a tables that stores skills data for my resources.

tblSkills
    SkillsID
    Abbr

tblSkillsResources
    SkillsID
    ResourceID
     Skills (I want to update this table with data from tblSkills)

tblResources
   ResourceID
    etc.


I am setting this up as a main form to add skills that pulls skills data from tblSkills, links to tblResources and stores in tblSkillsResources.

My main form pulls from tblResources
My subform pulls from tblSkillsResources and another tab pulls from tblSkills to add skills data to tblSkillsResources.


The objective is to run a report of all the resources who have a specific skill set so the data needs to be captured separately.

If I create separate check boxes tied to tblSkills that will store data in tblSkillsResources,

Each check box needs to be tied to tblSkills.abbr will need to update tblSkillsResources.Skills.

What is the best code to accomplish this?
0
Comment
Question by:gracie1972
1 Comment
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 38755725
< Skills (I want to update this table with data from tblSkills)> this is already a redundancy, since you already have the field SkillsID

anyway, you can do this with an update query

update tblSkillsResources SR inner join tblSkills S
on SR.SkillsID = S.SkillsID
set SR.Skills=S.Abbr
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question