Solved

How to autofill fields using a form, using access2010

Posted on 2016-09-06
2
19 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 34

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
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…

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now