Solved

How to autofill fields using a form, using access2010

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

914 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

18 Experts available now in Live!

Get 1:1 Help Now