Solved

Check boxes and data in a field in Access 2007

Posted on 2013-01-08
1
192 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 119

Accepted Solution

by:
Rey Obrero 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
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 …

705 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now