Having Forms With Auto-complete / Combo Box Option For Cells?

Dec 18, 2012

I am building a database to store student assessment information. I have a table with student information, a table with teacher information, and tables which will store the student's scores on a certain assessments.

Q1: I have a field in the assessment table for Teacher ID and Student ID which are linked to their respective tables. What I want to do is create a form for inputting the assessment data but the fields for teacher ID and Student ID to auto-complete or be combo boxes, I don't care which. That is, when a person is entering a student's scores, and go to enter their ID, they won't have to type the whole number out and hope they dont make any mistakes, they will essentially have a list of choices to choose from. Or as they type, the corresponding number will filter down. I already have refferential integrity on so that they can't enter an invalid ID in either field but I want them to have the choice.

Q2: In an assessments table, there is a 1-1 correspondence btw student ID's because only one student can have one score on a particular assessment. However, clearly one teacher can be tagged to several student's assessment scores. Any better way to tag the teacher to multiple student's scores without having fields in the assessment table for teacher ID which is repeated multiple times.

View Replies


ADVERTISEMENT

Forms :: Autofill - Possible For Fields To Have Auto-complete Option?

May 20, 2014

I have combo boxes set up with the different choices for major, minor, year, etc. Is it possible for these fields to have an autocomplete option? For example, there are about 30 different subjects that students can choose for a major, so rather than having to look for it in the drop down menu, could the person entering the data just start typing "ant" and have it automatically fill with "anthropology" for example?

I should also mention that the reason I made these fields into combo boxes is because I built SQL in the row source so that it is bound to the primary key but displays the description instead (with the column widths set to 0; 1).

View 2 Replies View Related

Forms :: Auto Complete Field Within Form

Jul 21, 2015

I have created 2 tables, one for direct customers and one for indirect customers. (I consider indirect a customers customer). The 2nd table has a field that links every indirect customer to a direct one. I also have a table for inserting credit notes. The credit note is either for a direct or an indirect customer. I am using a form for this one. So the form has 2 fields, one for each kind of customer. If the customer is direct, i only insert the direct customer field. If its an indirect customer i insert the indirect customer field. What i want is to create a combo box that when choosing an indirect customer, to display the linked direct customer and to save it to the direct customer field.

View 2 Replies View Related

Forms :: Auto Complete Form Field With Foreign Key

May 24, 2014

I am trying to auto populate a form from a table containing CustomerID, CustomerName and PCCID_FK

Now in the form I want to auto populate the field cmbPCC when I update the cmbCustomer

using dlookup I've managed to show it manually
=DLookUp("PCCID_FK","tblCustomer","CustomerName='T est'")

It gives the ID of PCCID_FK which is what I want. how do it I modify the expression to replace the TEST part with a value in a combo box.

or is there a better way of accomplishing this.

View 1 Replies View Related

Auto Complete

Feb 2, 2005

I am new to Access, I know I couold do this easily in other DBs using a dependant relationship... but I can't get a handle on it here.

I have Client, a State and Coutry tables. What I want to do is assign a Country to a State (in the State table?) and then when I choose a State in the Client table, the Coutry field is completed automatically.

Any ideas?

View 1 Replies View Related

Auto Complete

Mar 15, 2005

I have a table which contains:-

Employee ID Full name
AD Alison Doody
AM Ape Monkey
PT Pet Tepee

etc
etc

In a form i want to be able to select the Employee ID and then next to it in another box the full name appears.

I've looked at other auto complete post, but nothing seems to match what i want to do.
Can anyone help? :confused:

View 5 Replies View Related

Auto Complete!

Mar 15, 2005

I have a table which contains:-

EmployeeID-----Full name
AD------------- --Alison Doody
AM---------------Ape Monkey
PT----------------Pet Tepee

etc
etc

In a form i want to be able to select the Employee ID and then next to it in another box the full name appears.

I've looked at other auto complete post, but nothing seems to match what i want to do.
Can anyone help?

[for those of you who read the extremely BIG writing in the last post of the same as above, i apologise!! My PC decided to have a hissy fit just as i hit the submit button :mad: :o ]

View 1 Replies View Related

Auto Complete

Jun 7, 2006

I have a table witch hold a reference number in one field, house number in another and street in another field. I need to create a form that when the refernce number is entered by the operator the house number and street are automatically entered in the other fields. I'm not sure how to go about it can any one help.

Steve

View 1 Replies View Related

Auto Complete Is It Poss

Jan 11, 2008

Hi

Does anyone know if it is possable to get access to complete some fields based on data you have already entered? For example, if there were 2 fields 'title' and 'sex', is it possable to set the database up so that when you select Mr, the next field automaticly enters male?

View 3 Replies View Related

Auto-Complete / Default Value

Jan 24, 2006

I'm using cascading combo boxes with sql in each subsequent combo similar to:

SELECT DISTINCT [incidentnavigation].[type] FROM incidentnavigation WHERE [incidentnavigation].[involved]=cboincidentinvolved And [incidentnavigation].[person]=cbowho ORDER BY [Type];

If the result of the query is one line, i.e. click arrow and there's only one choice, can I get access to auto-fill in the box?

I tried an excel kind of if(count(query=1) then etc and it doesn't like it.

View 2 Replies View Related

Auto Complete Stopped Working

Sep 19, 2006

Access 2003.

Auto complete was working with a combo box. After adding much functionality
to a database I find that auto complete does not work on any combobox in any
form. So I create a blank database and a simple test shows that auto complete
works. When a form from the faulty database is imported in the test database,
auto complete stops working on the test form. Even if the imported faulty
form is removed, auto complete still does not work.

I tried creating a new database and importing the faulty form after removing
all controls and events from the form except for the combo box. Auto complete
still stops working. Not only on the imported form but also on the existing
form which works prior to the import.

I checked auto expand and it is 'Yes' in all conditions.

What ever is causing the problem on the faulty form seems to cause some
property of the database to change.

Is there some database option or property setting that controls auto complete?

Is is possible that importing a form will cause a database property to change?


--
RobGMiller

View 2 Replies View Related

Auto Complete Feild In Table

Apr 28, 2008

Hi,
I'm trying to create a table which needs some feilds to be automatically filled up when the control goes to it. Say my table has feilds, "size" and "result". In each row, the result cell should be filled up corresponding to the size value of that row. This needs to be looked up from an existing table.

Would appreciate any solutions!

View 1 Replies View Related

Use Auto Complete Feature When Typing Word In Middle Of Field

Feb 26, 2014

I'm working with a DB to enter orders for picking. I have an item list that I'm linking to when entering orders, and bringing in the data from the item list such as item location etc.

It's setup right now that when I type the first couple of letters into the item field it automatically brings up the matching items and if I click enter it completes the item and brings in the other fields from the item list.

Example: If I type in 'tom' I get back 'tomato', 'tomato sauce' etc. and when I choose the right one and hit enter it fills up the rest of the required info such as item location.

What I would like it to do is have the auto complete also check for middle words.

Example: when I type 'alm' it returns 'almonds', 'almond milk', but don't return 'container almonds' or 'container roasted almonds' etc.

View 1 Replies View Related

Auto Populate Cells Based On Three Entries

Feb 23, 2015

I would like to put a date in a form the region and then a staff code and based on the three entries then auto populate the remaining cells if those three have been entered together previously. Is this possible?

View 3 Replies View Related

Forms :: Combo Box - Bound Option Not Available

Mar 28, 2013

I have tried creating a combo box in a form and as I have gone through the steps, the option to bind each choice that I created in my drop down box for the form is not an option, so how do I make each choice in my drop down box access the report I need?

View 1 Replies View Related

Forms :: Option Buttons (2) To Control Combo Box

Jun 10, 2015

I have 2 Option buttons that I want to use to control a combo box. If I select Option1 then I want it to pull from one table for the drop-down choices. If I select Option2 I want it to pull from a different table. The Option buttons and combo box are all on the same form.

View 5 Replies View Related

Forms :: Include Option In Combo Box To Create A New Item

Jun 20, 2013

I have a form with a combobox whose list items are taken from a table of currencies (called tblCurrencies)

Row Source = SELECT [tblCurrencies].[Ccy] FROM tblCurrencies ORDER BY [Ccy];

Problem is, there may come a time when the currency they want to select is not yet part of the tblCurrencies table, and needs to be added. For simplicity, I'd like to have an additional option in the dropdown (perhaps at the bottom) to specify a new currency.So an additional list item (e.g. 'Add New...') which when selected could prompt a subform where the user could specify the new currency (and any other relevant details specific to that currency) which can be programmatically added to tblCurrencies.how do I get that extra option into the list items for the combobox?...

View 2 Replies View Related

Forms :: How To Get Only One Item In A Combo Box When Using Table / Query Option

May 1, 2013

How do I get only one item in a combo box when using the Table/Query option (ie No Duplicates). I want only one of each field with no duplicates.

View 2 Replies View Related

Forms :: Changing Combo Boxes To Option Groups?

Dec 11, 2013

I've created a form using the form wizard and all of the fields show up as combo boxes. I would like to change a couple of them to option groups with radio buttons. Is there anyway to do this without deleting the fields and making the option boxes from scratch? The reason I ask is because when I do the option boxes from scratch with the wizard, it alters the way the information shows up in the datasheet (it's a split form).

View 2 Replies View Related

Forms :: Displaying Initials In Combo Box When Option Selected From Drop Down

Oct 2, 2013

I have a Combo Box bound which gets its values from a table (T_Users).

The Combo Box displays the Users 'Initials' [Column 1], but the Bound Column [Column 2] is that of the Users 'ID' (which is used when a record is edited or a new record added).

What I want to be able to do is when the user clicks the Combo Box, and the drop down list 'drops down' the options, I want them to not only see the 'Initials' but also selected other columns - BUT - when the option is selected I just want the 'Initials' to be displayed in the Combo Box.

Code:
So, Normal > | ABC |

Dropped Down > | ABC |
--------------------------------------------
| ABC (Annabel Carcus, Big Company Ltd.) |
| JB (Joe Bloggs, Medium Company Ltd.) |
| FS (Fred Smith, Little Company Ltd.) |

Select JB, and > | JB |

View 6 Replies View Related

Forms :: Set Date Depending On Choice From Combo Box / Option Buttons

Mar 30, 2015

I'm looking to have either a combo box,, or 2 options buttons (whichever is easiest) that set a date field based on what is selected in the combo box/ option buttons.

The variables are 'Payment in 30 days" " Payment upfront"

if "payment in 30 days" is selected the date field on the form will enter the date as + 30 days from todays date
if "payment upfront" is selected the field on the form will enter todays date.

This date field must be blank unless an option is selected, as this information is only entered in a later stage of the form.

I've tried a few different ways to enter this but i can't quite get it to work as i want.

View 3 Replies View Related

Forms :: Form That Adds Data To A Table Depending On Which Option Was Clicked In Combo Box?

Sep 30, 2013

i have a standard database with tblProducts, order, employees, customers, suppliers etc. i also have a table called tblperson with personID which acts as a one, with the many in three different tables (customers, suppliers and employee) the person table holds data such as first name last name address city postcode and phone. now, ive created a form called frmPerson that acts as a adding data to my database. ive got a load of buttons a working add, delete and a save button, i also have the option to switch through records next, last, end and first. now basically in this form i want to be able to add data i.e. fill out the text boxes and then have a combo box or something similiar that when i add the data i can basically click an option the says 'employee' 'supplier' or 'customer' and then the data gets added to my person table however the difference is that it will also be associated to the record in the wanted table.

View 14 Replies View Related

Fill Blank Cells With Appropriate Data From Preceeding Cells

Jun 28, 2005

I have table1:

Name, Date, Points
Peter, 1.8.2005, 100
________2.8.2005, 200
Paul, 1.8.2005, 100
________4.8.2005, 300

etc. and I need to fill the blanks with Peter, Peter... , Paul, Paul, ... etc. so, that I can later take it as a group ID and work with the data.

Preferably with SELECT query, but insert or update is also possible.

View 3 Replies View Related

Forms :: Combo Box Auto Select

Sep 3, 2014

I using access 2010 and I am trying to code (VBA) one of my combo box to auto select if another combo box consist of multiple selections. So for example I have a multi select combo box that has a list of departments and based on what the user selects I want the other combo box to automatically select itself if one or more of the department in the first combo box is selected:

Departments
A
B
C
D
E

Combo Box 2
Clinical (Auto Select)

View 5 Replies View Related

Forms :: Auto Populated Text Box From Combo Box Value

May 8, 2013

I have a form for 2800 different records. I want to auto populate 4 text boxes based on the value of 1 combo box but when I change the data on 1 form, all the forms show the same data. I want to be able to able to change the data on each form and save separately.I have Table with Tech Initials(PK), Full Name(689), CellNum(691), TestGaugeSN(630) and Cal Exp Date(632). Want to use Tech Initials to populate the rest.

Here's what I'm using:

Private Sub Combo687_AfterUpdate()
Me.Text689 = Me.Combo687.Column(1)
Me.Text691 = Me.Combo687.Column(2)
Me.Text630 = Me.Combo687.Column(3)
Me.Text635 = Me.Combo687.Column(4)
End Sub

View 1 Replies View Related

Forms :: Combo Box / Text Box Auto-Populate

Oct 14, 2013

I have 5 combo boxes that all cascade into the next, and then when the last combo box is updated from the drop down list, it auto-populates a text box. My issue is that I have a second text box that needs to be auto-populated from the same data table based on what has been entered into the 5 combo boxes and the first text box. I've tried creating parameters and setting a lookuprecord macro in my main table and then using a returnvars RunDataMacro on the actual form, but it says, "Invalid list or query reference 'BillingDataQuery'." I'm not sure if it's because I'm not setting that RunDataMacro on the wrong combo box, or if I've written it incorrectly...

I did this same technique (based on directions in a post from this forum) on another combo box that populates five text boxes and it works just fine, but I don't know how to get this to work based on what's populated in 5 combo boxes to auto-populate the last text box.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved