473,396 Members | 2,099 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,396 software developers and data experts.

Display/Edit Query Results in a tabbed panel

I have created a table driven email notification system which sends emails using outlook to employees depending on if a boolean field (blnEmail) in the email notification table is set to TRUE. I'm wanting to create a tabbed panel with a control that displays all records in the email notification table so that managers can check/uncheck the boolean field (blnEmail) depending on whether an employee should receive email notifications. I'm not sure what approach to take. I'm not very familiar with combo boxes, list boxes or subforms. Any suggestions would be appreciated.
Jun 11 '10 #1
2 1956
MMcCarthy
14,534 Expert Mod 8TB
If you want the user to be able to edit checkboxes then you will need to use a subform to display the records. I would suggest that you set the subform to open as a datasheet. This should make everything relatively easy.
Jun 11 '10 #2
jimatqsi
1,271 Expert 1GB
I have to assume that you want to add a tab to a pre-existing form. Otherwise I don't see any reason for a tabbed panel. You may be over complicating the task, but let's assume for a moment that your design approach and my assumption are both correct.

Start out by making a new form. The data for the form should come from your email notification table. All you need is a single checkbox on the form, bound to the boolean flag blnEmail, and the Employee ID number.

Then, go back to your original Employee maintenance form and add a Tab for "Email Notification." Drag your new form onto that tab. That will make your new (email notification) form a subform of the main (employee maintenance) form.

In the properties of the subform object you will need to put the Employee identifier from the main form in the Master property and the Employee identifier from the Email Notification table in the Child property. That way, when you choose Employee X on the main form, the subform contains the matching data from the Email Notifications table.

Hope that helps,
Jim
Jun 11 '10 #3

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

Similar topics

3
by: Richard Coutts | last post by:
I have a query created by the "Find Unmatched" query that lists items in a table that were not selected by another query. The Query does what it needs to do, but I can't edit any of the resulting...
0
by: Rob | last post by:
I doubt this is the best way to do it, but what I came up with was to hide the XML in an HTML Comment then edit the file deleting the HTML stuff and keep the XML results. If anyone has a better...
2
by: Jerry M. Gartner | last post by:
Greetings: As evident from a previous post, I am a php noob. I would like to display MySQL query results in an html table with one of the row values as a category and the rest of the data...
9
by: Kelii | last post by:
I've been trying to get this piece to work for a few hours, but have given up. I hope someone out there can help, I think the issue is relatively straightforward, but being a novice, I'm stumped....
9
by: Rotor | last post by:
Hello again, Problem: I created a query to pull a set of records by workorder number. It works like a champ. However, I need the user to update/edit the records if need be. I am displaying the...
1
by: veaux | last post by:
Might not have explained this correctly in subject, but query results look like below: Name ID Phone Bill 001 123 Bill 001 234 Bill 001 ...
1
by: Arli | last post by:
I have the following linked tables: tblMainPL is my main table that I need to pull the information in from. It has the following fields: Autonumber1 -PK set as autonumber Date - short date...
1
by: OzNet | last post by:
Hi I am using Access 2007 I have a form called frmProjects and a tabbed panel on it. The first tab is Project Details, the Second is Lump Sum Estimate and the third is Percentage Estimate ...
3
by: DigitalWallfare | last post by:
Hi all, This is my first post here, but i've lurked for a while. I'm working on a website but have come across a major stumbling block in the code: I've managed to structure the search query...
4
by: CoreyReynolds | last post by:
Hey all, This may be the dumbest thing I've ever seen. I'm creating a queryDef in VBA for access. Here's a sample of the query it creates: SELECT tblEquipment.equipmentID,...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...

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.