Solved

How to autofill fields using a form, using access2010

Posted on 2016-09-06
2
21 Views
Last Modified: 2016-10-23
I am a Rotarian and we have a program called Student Stay In School Program with 49 active students at the present time. I been given the task to set up a data base to record student costs re: Tuition Fees, Textbooks, etc. etc. I have the Tables, Queries, Forms and Reports set up and working fine. Now I would like to be able to auto fill fields when entering expenses with the expense form ie: enter the Student ID # and it would auto populate the Student First Name and Student Last Name. My Student Table, StudentT, contains all the student information. My Expense Table, ExpenseT, all the expense information plus a StudentID, not a Primary field.

Thank you.
Art Borzel.
S.I.S. Committee Chairperson.
Rotary Club of Calgary South.
0
Comment
Question by:Milehi60
2 Comments
 
LVL 35

Accepted Solution

by:
PatHartman earned 500 total points
ID: 41786562
Sounds like you are looking for a search feature.

If you already have a mainform/subform created that will display the data you want to see, you can use that form.  Otherwise start by building a form that displays what you need.  Then in the header of the form, add a combo box.  If the wizards are turned on (they are on by default), you will see a dialog that will give you three options.  Choose the one that says "find a record on this form".  Then follow the wizard to build the combo.  Save the form.  Now when you choose a student from the combo, the form will be positioned to that student's record.  Is that what you are looking for?

Someone might build the search for you if you post your database.  Please include only test data or obfuscate the actual data.  Compact the database before posting to reduce its size.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
A Function to parse a text string 4 34
Top 1 of each supplier 55 55
Access Open Report with SQL Parameter 11 29
SQL multicriteria from ONE textbox 32 41
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question