Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Check boxes and data in a field in Access 2007

Posted on 2013-01-08
1
Medium Priority
?
204 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 2000 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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

715 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