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

Storing selections for dependent multiselect list boxes or check boxes

I have three main tables. The first is the table that my main form will be
based on. This is where the user will enter all the data. The table is
called TechnicalProblemsTable. It looks like this:

I can't fit it on the screen, so I'll just list the field headings vertically.
CaseNumber-pk
SolutionNumber
Date
DealerNumber
UnitSerialNumber
ModelNumber
UnitHours
Status
PrimePart
ProblemCatID
ProblemCat
ProblemSubcatID
ProblemSubcat
Comments
CaseCreatedBy

ProblemCategoryTable...

ProblemCatID-pk ProblemCat
1 Engine
2 Fuel
3 Electrical
4 Steering
5 Power Train
6 Brakes
7 Hydraulic
8 Chassis/Structure
9 Attachments
10 Machine Options
11 Parts
ProblemSubcategoryTable

ProblemSubcatID-pk ProblemSubcat ProblemCatID ProblemCat
1 Air Cleaner 1 Engine
2 Bearing 1 Engine
.. . . .
.. . . .
.. . . .
25 Cable 2 Fuel
26 Camshaft 2 Fuel
.. . . .
.. . . .
.. . . .
140 Technical 11 Parts
141 Sales 11 Parts
Ok, now, upon selection of a category in a combo box with the
ProblemCategoryTable used as the source, I would like a series of check boxes
or a multiselect list box with cooresponding subcategories to appear. I
think I know how to accomplish this...maybe, but I can't get the subcategory
selections to store in the TechnicalProblemsTable. Eventually I want the
user to be able to search the database for different Subcategory Problems.

Any help or suggestions would be greatly appreciated.

***I am not an Access expert - this is my first experience with this program.
I have spent about two weeks getting to where I am now.***

Thanks for your time,

Shannan

--
Message posted via http://www.accessmonster.com
Nov 13 '05 #1
3 2572
rkc
Shannan Casteel via AccessMonster.com wrote:
I have three main tables. The first is the table that my main form will be
based on. This is where the user will enter all the data. The table is
called TechnicalProblemsTable. It looks like this:


Is each individual problem treated as a seperate case?
The alternative would be a case with multiple problems.
There is a big difference in how the two would be modeled
as tables in the database.

If one case can have multiple problems then you need a
Case table and a junction table to link the multiple
problems to the single case.

Case (CaseNumber*, DateCreated, CreatedBy, Comments, etc.)
CaseProblem (CaseNumber, ProblemSubcatID)

The biggest problem you are facing is not getting information
from a form into a table. It's getting the structure of your
database to correctly model your real requirements.


Nov 13 '05 #2
rkc,

The purpose of this database will be to serve customer support
representatives(CSR) to a company that makes machines. When someone calls
with a problem on a particular machine the CSR will enter information about
the model number, the unit serial number, how many hours are on the machine,
and the main problem category. Only one main problem will be allowed. Upon
the selection of this main problem the check boxes or list box would appear
with the relevant subcategories. Out of the cooresponding group of
subcategory check boxes or list box, any number of them may be selected.
After this is done the CSR will enter some comments, along with who he is,
the date, and the case number. The next call would be a different case.

When a certain problem has occurred enough times the CSR might write a
solution as to how to resolve the problem and assign it a solution number.
Then that number would be assigned to each respective case that contained
that specific problem.

Thanks for your concern and continued help,

Shannan

--
Message posted via http://www.accessmonster.com
Nov 13 '05 #3
rkc
>The purpose of this database will be to serve customer support
representatives(CSR) to a company that makes machines. When someone calls
with a problem on a particular machine the CSR will enter information aboutthe model number, the unit serial number, how many hours are on the machine,and the main problem category. Only one main problem will be allowed. Uponthe selection of this main problem the check boxes or list box would appearwith the relevant subcategories. Out of the cooresponding group of
subcategory check boxes or list box, any number of them may be selected.
After this is done the CSR will enter some comments, along with who he is,
the date, and the case number. The next call would be a different case.
Seems to me you could purchase something already built for this.
Maybe that's already been considered and rejected.

Anyway, see if this makes sense to you.

CustomerSupportReps (CSRID*, FirstName, LastName, etc.)
Information on your reps. The CSRID can be used in the Case table
so you don't get entries by Robert Dole, Bob Dole, R.Dole and Robbie D.
I don't know. Maybe you already have an employee table you didn't
mention.

Case (CaseNumber*, UnitSerialNumber, UnitHours, ProblemCatID,
CSRID, DateInitiated, Comments)
Case information

CaseProblemSubCategory (CaseNumber*, ProblemSubcatID*)
Relates Problem sub-categories with a case.

ProblemCategory (ProblemCatID*, ProblemCat)
Problem Categories.

ProblemSubCategory (ProblemSubcatID*, ProblemCatID, ProblemSubcat)
Problem sub-categories. related to Problem Categories via
ProblemCatID
When a certain problem has occurred enough times the CSR might write a
solution as to how to resolve the problem and assign it a solution number.
Then that number would be assigned to each respective case that contained
that specific problem.


I'm not sure how you would relate a solution to a problem since two
cases with the same main problem could have different sub-problems.
Have you thought about that yet?

Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Joe | last post by:
I have 2 multi-list boxes, 1 displays course categories based on a table called CATEGORIES. This table has 2 fields CATEGORY_ID, CATEGORY_NAME The other multi-list box displays courses based on...
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...
8
by: Galina | last post by:
Hello I have 6 dependent list boxes on my ASP page:  Faculty;  Lecturer;  Course;  Course occurrence;  Group;  Week commencing date. When faculty is selected, lists of lecturers and...
0
by: - HAL9000 | last post by:
Was/Is there a resolution to this bug of using ListView check boxes and MultiSelect together? I have the same difficulty as the author. ...
1
by: syam | last post by:
Hai Friends.. I have a search page and contains multiple multiselect list boxes, each containing 6 options. I want to check whether the user has checked atleast one option in each of...
20
by: Lit | last post by:
Hello, I need to create an Internet based, asp.net webform where a user can select multiple cities in a state. as you know the number of cities in a state can be very large. What is the...
18
by: =?Utf-8?B?TGkgV2VuZw==?= | last post by:
Hi, Is there a way for TreeView to have multiple selections? But I am not talking about its checked boxes. I want a way similar to ListView with MultiSelect = True. So I can use or key and...
26
by: jmartmem | last post by:
Greetings, I have an ASP page with two dynamic dependent list boxes written in JavaScript. My dependent lists work great, but my problem is that the values for "Program_Name" and "Project_Name"...
1
by: jmartmem | last post by:
Greetings, I have a nagging problem with client-side dynamic dependent list boxes that perhaps someone can help me troubleshoot. I have a form with a series of dynamic dependent list boxes....
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?
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
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,...
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.