Solved

Check boxes and data in a field in Access 2007

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

770 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