473,399 Members | 2,478 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Convert check boxes in a table to text boxes on a report

76
Ok, so I'm wondering if what I need to do is even possible because I haven't been able to figure out how to do it and I haven't seen any similar posts on here.

In a table, I have a series of fields with course names as the title (SAA-OC, SAA-TA, etc.) There are also fields with employees names and other information. Each record is a unique employee and, under the course name fields, there are a series of check boxes that show which courses each employee has taken.

I'm trying to produce a report that will show names of employees and which courses they've taken. I don't want to show the text boxes on the report; I'd rather have the name of the course appear if it's checked for the employee and not appear if it's not checked. This list of courses will appear for each employee, which are sorted by last name. Is this even possible? Please let me know if my description is insufficient.

Chuck
Mar 9 '09 #1
4 1901
FishVal
2,653 Expert 2GB
Hello, Chuck.

Database Normalization and Table Structures.
Keeping database normalized, you would never have issues like you are having now.

Kind regards,
Fish.
Mar 9 '09 #2
ckpoll2
76
Thanks, Fish. Actually, I didn't design this database. Unfortunately, someone else put it together and I'm just stuck with trying to make sense of it all. Do you know if my need is possible and, if so, how I can go about it?

Chuck
Mar 9 '09 #3
FishVal
2,653 Expert 2GB
Well.

There could be several workarounds.
  • You may "normalize" your dataset dynamically:
    • Content of each "course" field is being retrieved to a separate dataset together with table PK. Simultaneously content is filtered by True and replaced with course name.
      Expand|Select|Wrap|Line Numbers
      1. SELECT tbl.PK, '...course name ...' as txtCourseName FROM tbl WHERE [course name];
      2.  
    • Thus obtained datasets are UNION'ed into a normal form giving existing combinations employee/course.
  • You may merge courses names into CRLF separated list and use it as ControlSource of textbox which CanGrow property is set to True.
Mar 9 '09 #4
ADezii
8,834 Expert 8TB
@ckpoll2
ckpoll2, how about posting some sample data (Field Names and Values), and also the results that you would like to see. This will give us, or at least me, a much better idea on how to proceed.
Mar 10 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: KathyB | last post by:
Hi, I'm trying to find a way to validate input text boxes where I don't know the names until the page is rendered. I've got 2 validate functions that fire with the onsubmit button of a "mini" form...
1
by: James | last post by:
I am creating a system whereby equipment is inspected. Data is inputted into an inspection form. However, any equipment that is not satisfactory needs to have spare parts ordered for that piece of...
2
by: Craig M | last post by:
Hi, I have a form, frmInvoices and a subform, frmInvoicesSub. On the parent form, i have a "print report" button, that prints a report depending on an ID on the parent form. Each record in...
6
by: Shannan Casteel via AccessMonster.com | last post by:
I'll explain as well as possible...not an experienced user...but learning. I am working on a database for different kinds of problems with machines. A user will be able to select a problem...
4
by: Miguel | last post by:
I have synchronized combo boxes linking Account Type with Customer Names based on the template that Microsoft has in one of its samples databases. There are the appropriate relationships between...
3
by: winky10 | last post by:
From a newbie. MSAccess 2000. I have a form with checkboxes and text boxes bound to their respective fields in a table. Using a query, I am able to create a report based on those checked boxes. ...
2
by: cynderborg | last post by:
I have three text boxes that are horizantally next to each other. I would like to create the look of a table on the report. The borders of all three text boxes will be visible in the report. What...
5
by: Andrew Meador | last post by:
I have a form (Change Card List by Status) with a check box (cboNOT) and a list box (lstStatus). There is an Open Report button that opens a report (Report - Change Card List) which uses a query...
2
by: Mike | last post by:
Hi guys, i have a table with 12 checkboxes for different type of products, so basically user has to tick if this product applies to the entered account. So, i have the same group of boxes in my...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.