Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to autofill fields using a form, using access2010

Posted on 2016-09-06
2
Medium Priority
?
26 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 39

Accepted Solution

by:
PatHartman earned 2000 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
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…

610 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