473,698 Members | 2,521 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

multi item combo boxes or list box

I am new to Access having used Filemaker for many years. My question
has to do with displaying and creating a line item database. What I
have is a two tables. One has Name, Location, time, disposition and
Offense. The second has Offenses and Description of Offenses. I want to
display, on a form, all the fields in table one with the Offense field,
a drop down, combo box or list box, able to display more than one item.
For example, if the user chooses in the drop down box 59FC, then 59FA,
then 59NS. These would show on the form all the choices, preferably
under each other. I am thinking a third table, a line item table, may
need to be created to store the data for report purposes. But I will
figure that out. Anyway, any suggestions?
vincent

Sample of what I am looking for:

Name Location Time Dispositon Offense
john 123 anywhere 10:00 Weeds 59FB
59FC
59FA

Nov 13 '05 #1
8 3048
vp*****@las-cruces.org wrote:
I am new to Access having used Filemaker for many years. My question
has to do with displaying and creating a line item database. What I
have is a two tables. One has Name, Location, time, disposition and
Offense. The second has Offenses and Description of Offenses. I want to
display, on a form, all the fields in table one with the Offense field,
a drop down, combo box or list box, able to display more than one item.
For example, if the user chooses in the drop down box 59FC, then 59FA,
then 59NS. These would show on the form all the choices, preferably
under each other. I am thinking a third table, a line item table, may
need to be created to store the data for report purposes. But I will
figure that out. Anyway, any suggestions?
vincent

Sample of what I am looking for:

Name Location Time Dispositon Offense
john 123 anywhere 10:00 Weeds 59FB
59FC
59FA


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I believe your DB design needs to be changed (Normalized) to something
like this:

Defendants:
DefendantID -- An AutoNumber column
Name
... other columns that ID the defendant ...

I'm not sure about the following table, since you used such vague column
names.

Crimes: (or some other more specific/legal name)
DefendantID -- a link to Defendants table
Location -- Where the crime was committed ?
CrimeTime -- DateTime when the crime was committed ?
Disposition -- Where the defendant is placed ?
What do you mean by Disposition?

OffenseTypes (your second table):
OffenseCode -- the 59FA, 59FC, etc. codes
OffenseDescript ion -- the verbiage for each code

Charges:
DefendantID - a link to the DefendantID in Defendants
OffenseID - a link to the table OffenseTypes

Then you'd have a main form for the Defendant; a subform for the Crimes;
a subform in the Crimes subform for the Charges. The OffenseID in the
Charges subform would be a ComboBox. All the subform's would link back
up the subform chain to the main form by the DefendantID.

Read the Access Help articles on subforms for more info.
--
MGFoster:::mgf0 0 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQnfHpYechKq OuFEgEQI0SACgyP puyUIbXNKNGWmFU pamBPcIGp0AoL5W
2i6lIRu1s4iY+xB Bkh2L1w46
=iU4A
-----END PGP SIGNATURE-----
Nov 13 '05 #2
Thanks for your insight. However, what we use is much simpler. What we
need is a simple flat file to log incidents. Everything else is done
except for the combo box that allows for multiple offense codes to be
displayed for one incident. How would I do that? Would I use a list
box? What would the relationship look like? BTW, is there something
like a portal that can be put on a form to display date from another
related file? Thanks again.
vincent

Nov 13 '05 #3
vp*****@las-cruces.org wrote:
Thanks for your insight. However, what we use is much simpler. What we
need is a simple flat file to log incidents. Everything else is done
except for the combo box that allows for multiple offense codes to be
displayed for one incident. How would I do that? Would I use a list
box? What would the relationship look like? BTW, is there something
like a portal that can be put on a form to display date from another
related file? Thanks again.
vincent


So you need "Many" offense codes for each "One" incident? Sounds like a
One-To-Many relationship doesn't it? That requires two tables if you want
to do it right. Otherwise just use Excel.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #4
Yes, yes! I have created the two tables, Log and Offenses, with a
relationship between two fields, i'll call them "callnumber ", this is a
number field, to link them together. I have imported the data needed
into the second table, which has three fields, offenses, offense
description and callnumber. How do I show in the form the fields
"offenses" and "offense description". This needs to be a drop down for
"offenses" to ease data entry. Thanks.

Nov 13 '05 #5
vp*****@las-cruces.org wrote:
Thanks for your insight. However, what we use is much simpler. What we
need is a simple flat file to log incidents.


Hi Vincent,

No offense meant, but you mentioned you have used Filemaker for years,
which, I assume, allows relational database principles to be followed.
As MGFoster or Rick mentions, the description of your requirements
dictates a multi-table normalized approach. If you don't want to do
this (and multi-table design of a database is kind of difficult if
you're not used to it) and would prefer a flat file, your job would be
made much, much easier by simply using Excel, I think. 8)
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Nov 13 '05 #6
Thanks. I wasn't offended. I am trying to adjust my thinking to Access
from Filemaker and my description was a little blurred. I am used to
the multi-table approach. What I could do all day in Filemaker is
becoming a chore in Access. But that's another Google Group. Anyway, is
there a book or website that I can look at samples in order to get a
clear understanding as how Access works. Thanks

Nov 13 '05 #7

<vp*****@las-cruces.org> wrote
is there a book or website that I can
look at samples in order to get a
clear understanding as how Access
works. Thanks


A very good example, Northwind.MDB, comes packaged with Access and will have
been installed in the folder hierarchy where you installed Office, unless
you opted for a custom install and omitted it. There is a very useful Orders
and Solutions sample database, temporarily housed at
http://www.mvps.org/access/downloads/bapp2000.exe. Many of the samples in
that database refer to Northwind.

If you are using Access 2003, follow the link in Help to Office Online |
Training, and follow the links there to specific topics. You'll find a
number of useful, thankfully brief online training courses. If you are not
using Access 2003, most of the material will still apply, and you can go
directly to http://office.microsoft.com/en-us/training/default.aspx.

Larry Linson
Microsoft Access MVP

P.S. Here's the body of a post from late last year in the
microsoft.publi c.access.gettin gstarted newsgroup, by Jeff Conrad, a
self-confessed Access Junkie, who did us all a great favor by collecting and
posting these links:

Here's one or two links, grouped by category, to help in your Access qwest.
Please watch out for any
possible line wrapping on these links. You should definitely find one or two
things in here to help
you. <g>

Number One on your start list:

http://www.mvps.org/access/
(A definite must!)

Microsoft Knowledge Base for searching:
http://support.microsoft.com/?scid=fh;[ln];kbhowto
Getting Started:

http://www.mvps.org/access/tencommandments.htm

ACC: Database Normalization Basics
http://support.microsoft.com/?id=100139
http://support.microsoft.com/?id=209534
http://support.microsoft.com/?id=283878

Glossary of database terms:
http://www.dhdursoassociates.com/dat...lossary-3.html

Where to find information about designing a database in Microsoft Access:
http://support.microsoft.com/?id=289533

"Understand ing Relational Database Design" Document Available in Download
Center:
http://support.microsoft.com/?id=283698
http://support.microsoft.com/?id=164172

ACC2000: "Understand ing Relational Database Design"
http://support.microsoft.com/?id=234208

Naming Conventions:
http://www.xoc.net/standards/rvbanc.asp

http://www.eade.com/AccessSIG/downloads.htm
(See the last download titled "Understand ing Normalization")

http://www.oreilly.com/catalog/acces...pter/ch04.html

http://www.datatexcg.com/Downloads/D...gnTips1997.pdf

Database Normalization Tips by Luke Chung
http://www.fmsinc.com/tpapers/genacc...abasenorm.html

Support WebCast: Database Normalization Basics
http://support.microsoft.com/default...lurb060600.asp

5 Rules of Database Normalization:
http://www.datamodel.org/NormalizationRules.html
Access Data "Clean-up" Tips:
http://pubs.logicalexpressions.com/P...cle.asp?ID=182
Interface Design topics:
http://www.isii.com/ui_design.html
Tutorial Style:

http://www.microsoft.com/Accessdev/a...bapp97/toc.htm

Microsoft Access 2000: Building Applications with Forms and Reports
http://tinyurl.com/2szmm

http://www.dur.ac.uk/its/training/se...&campus=durham
(Sample practice file for download as well)

http://www.geekgirls.com/databasics_01.htm

http://mis.bus.sfu.ca/tutorials/MSAccess/tutorials.html

http://www.microsoft.com/office/prev...s/column06.asp

http://www.functionx.com/access/

http://www.bcschools.net/staff/AccessHelp.htm#Top

http://www.fontstuff.com/access/index.htm

http://www.fgcu.edu/support/office2000/access/

http://www.oit.duke.edu/ats/training/docs/access1/

http://cisnet.baruch.cuny.edu/holowc...html#sec_intro

http://ddmara.tripod.com/access/index.html

https://secure.vtc.com/cd/access2003.htm

http://www.simply-access.com/Start_m...tutorials.html

http://www.rogersaccesslibrary.com/Tutorials.html

Tutorial: Analyzing Data Using Access
http://www.microsoft.com/education/AccessTutorial.aspx

Sample Database Models/Table Designs:

http://www.databaseanswers.com/data_models/index.htm
Download Samples:

http://rogersaccesslibrary.com/TableOfContents3.asp

http://www.invisibleinc.com/divFiles.cfm?divDivID=4

http://www.candace-tripp.com/access_downloads.htm

http://www.datastrat.com/DataStrat2.html

http://members.shaw.ca/glenk/index.html

Fred Boer's fully functioning library application.
Lots of different topics for study included:
http://www3.sympatico.ca/lornarourke/fred.zip
The mighty Sensei Leban's site for all things magical:
(Please bow in reverence on your way in.)

http://www.lebans.com/
Advanced Topics:

http://www.trigeminal.com/utility.asp

http://www.mentalis.org/index2.shtml
Misc: Downloads/Samples/Helpful Articles

http://www.granite.ab.ca/accsmstr.htm

http://allenbrowne.com/tips.html

http://www.viescas.com

http://www.daiglenet.com/msaccess.htm

http://www.users.bigpond.com/papwalker/

http://www.applecore99.com/index.asp

http://www.helenfeddema.com/access.htm

http://www.dbases.net/knowledge_base/

http://ourworld.compuserve.com/homepages/attac-cg/

http://www.aadconsulting.com/index.html

http://accdevel.tripod.com/

http://ffdba.com/downloads.htm

http://www.attcanada.net/~kallal.msn.../msaccess.html

http://www.mvps.org/btmtz/

http://www.jstreettech.com/Downloads.asp

http://www.liquorman.net/Tips.html
Helpful Articles/Code Samples:

http://www.pacificdb.com.au/MVP/MVPCode.htm

http://members.rogers.com/douglas.j....cessIndex.html

http://www.winsoft.sk/daofaq.htm

http://www.calvinsmithsoftware.com/HardToFindTips.htm

http://www.mvps.org/vbnet/

http://www.master-office.com/developers.htm

http://www.trevor.easynet.co.uk/AccFAQ/

http://www.theofficeexperts.com/access.htm

http://www.access.qbuilt.com/

http://www.microsoft-accesssolutions.co.uk/

http://www.blueclaw-db.com/ms_access_examples/index.htm

http://www.jamiessoftware.tk/

http://www.pdtech.co.uk/prod01.htm

http://easyweb.easynet.co.uk/~trevor/AccFAQ/
(A little dated, but still some helpful things)

http://www.vbexplorer.com/VBExplorer/VBExplorer.asp
Run Command Constants:

http://www.tkwickenden.clara.net/
A massive list of other Access links:

http://www.geocities.com/waddly/accory.html

http://dmoz.org/Computers/Software/Databases/MS_Access/

http://www.directory-base.com/access/
Add-Ins/Utilities:

My personal favorite on Doug Steele's site:
http://members.rogers.com/douglas.j....ocumentor.html
;-)

http://mphillipson.users.btopenworld.com/

http://www.fmsinc.com/

http://www.moshannon.com/

http://www.rickworld.com

http://www3.bc.sympatico.ca/starthere/findandreplace

http://www.peterssoftware.com/index.htm

http://www.dbi-tech.com/default.asp

http://www.zada.com.au/accessaddins.htm

http://www.mztools.com

http://www.logico-solutions.com/

http://accesstools.narod.ru/

http://www.directory-base.com/access...itle=Add%20Ins

http://www.skrol29.com/index.php?lang=us
Live Access chats every Tuesday and Thursday:
Tuesday 11am EDT - Thursday 3:30pm EDT
http://community.compuserve.com/msdevapps
Access User-Level Security:

Security FAQ (the Security Bible):
http://support.microsoft.com/?kbid=207793

Jack Macdonald's Security Document:
http://www.geocities.com/jacksonmacd...ssSecurity.pdf

Lynn Trapp's Ten Security Steps:
http://www.ltcomputerdesigns.com/Security.htm

Joan Wild's Tips:
http://www.jmwild.com/security02.htm
Creating menu bars and tool bars:

http://www.microsoft.com/Accessdev/a...ers/ba01_6.htm
Additional Access Forums:

http://www.accessvba.com/

http://www.utteraccess.com

http://www.access-programmers.co.uk/forums/
Book Recommendations :

http://www.developershandbook.com/
(A VERY good book to have)

http://www.viescas.com/Info/books.htm

http://www.fmsinc.com/toplevel/books.htm
Some of the MVP web sites:

http://www.mvps.org/links.html
Database Recovery:

http://www.pksolutions.com/

http://www.atroplan.com/
Search Google archives on Access newsgroup posts:

http://tinyurl.com/ctj2
That should keep you busy for a while! ;-)

Nov 13 '05 #8
Thanks a bunch. Didn't know there was so much help out there. Thanks
again!

Nov 13 '05 #9

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

Similar topics

1
9914
by: Greg Bryant | last post by:
Hi folks. I'm porting a cf site to php, everything's going very well, I like php much better (this, of course, being the correct forum to make that statement :). One problem I have is with validating a form that has a couple multi- select list boxes. The idea is that when the user submits the form, it goes to it's process script. The process script validates the responses, and if all is ok, finishes processing and "includes" a thank...
9
3264
by: Frances | last post by:
Hi All, * PREMISE * I'm creating an Access form with 150 items subdivided into 20 categories. Multiple categories (and items) can be selected so my user wants checkboxes. All of the options need to be visible at the same time so no dropdowns (combo boxes) and no scrolling lists (list boxes). I will use tabbed sheets with logically grouped categories (and their respective items).
3
3203
by: mal | last post by:
Sorry for repost - system added to another subject for some reason Have tried numerous ideas from the group to solve this one. It is such a simple example that it should be straightforward ! I just want to add a new item to a combo that has data from a file, by typing in the new value , adding to the file and the requerying to get the new valus in the list. i.e. a data entry and data display combo box. I select an item from cmb1 and...
6
11777
by: CindyH | last post by:
Hi Does anyone know how to create a multi column combo box from the same table? Thanks, Cindy
2
3268
by: Dave | last post by:
I have 3 tables of information feeding into 4 combo boxes on my main form (DR Form). I have as many list boxes (acting as text boxes) as there are fields in each one of the 3 tables. Once selecting from the combo box, I have all the combo boxes, using afterupdate, populating their respective list boxes. These text boxes are directly correlated to the combo box selection using SQL. Here is an example from the afterupdate event in the...
1
4162
by: freetime | last post by:
Greetings, This is my first post so I will try to be brief and accurate. I have a report that uses 9 user selectable filters (Dates, Y/N's as Combo Boxes and 4 Multi-Select List Boxes. 2 of the Multi-Select Boxes acquire their data from other tables as Lookup's. All functions for the filters operate properly pulling the data needed. One of my options with the data is to send it to a Report that can be printed. The request...
12
4034
by: micarl | last post by:
How would i print a report based on criteria selected from several Combo Boxes as well as multiple Multi Select List Boxes, that are located on the same form? I can get one Multi List Box, just not several, to report using this code i found - Private Sub cmdPreview_Click()
1
6796
by: woodey2002 | last post by:
Hi Everyone and many thanks for your time.. I am trying to begin access and a bit of VBA i am enjoying it but I have a annoying problem I just can’t get any where on. My databse mostly includes bits of code for different examples. I have one last thing to finish. I am trying to create a search form that will allow users to select criteria from multiple sources eg ,multi select list boxes , combo boxes. I have a subform showing all the...
4
3162
by: sree078 | last post by:
I've a list of items which I bound to multiple combo boxes. In the due course in the code...I had to add an item into one combo box...but I don't want it to be reflected into any other combo boxes...How should I do that... As when I'm trying to add an item...it is being shown in all the combo boxes. private void FillMethod() { BindingSource bs = new BindingSource(); BindingSource bs1 = new BindingSource(); ...
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8611
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8876
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7741
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6531
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5867
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2341
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.