Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

Check boxes and data in a field in Access 2007

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
gracie1972
Asked:
gracie1972
1 Solution
 
Rey Obrero (Capricorn1)Commented:
< 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now