Solved

How to autofill fields using a form, using access2010

Posted on 2016-09-06
2
23 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 36

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
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…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

726 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