Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Table Fields
Teri Bridges 
    
5 years ago
Is it possible to have one field in my table populate based on the selection made in another field on the same table?
I have a Status field It has five values each of those values needs to have an associated percent level.
For example Field 1 is a status dropdown and field two is the percentage assigned to that status.
I would like when I select my status to have the percent field automatically update. I thought if an if then statement but do not know how to get it to work in the table. IIf([Status]="In Progress","25%","Null")
Alex Hedley  @Reply  
           
5 years ago
Why not create a Table with
StatusID (AutoNumber)
StatusName
StatusPercent
They you can do a DLOOKUP based on the chosen value, or better yet just join it in a Query.
Richard Rost  @Reply  
          
5 years ago
Teri, you CAN have a field in a table change when another field is changed. This requires programming, such as an AfterUpdate event. It's much better to use a Calculated Query Field for this.
Teri Bridges OP  @Reply  
    
5 years ago
Let me try this, I have a table, it has all the fields I need. Based on that table I have a form, when the user enters the data in the form it updates the Table fields correctly. The next step I would like to achieve is in the form, when the user selects the status I would like the result to be... that the % complete field automatically updates. What I do not know how to do is build what I need to get that result. I built a query that gives a single result - Percent Complete: IIf([Status]="In Progress","25%"). I cannot figure how to write the statement for the multiple results and then how do I connect that to the form so that it will auto update the table. Maybe this is too much for me with the limited knowledge I have. I was trying to prevent data entry errors . I did not know if I could just build an event in the Form or what I needed to do to make sure that the information populated to my table. Right now it is manual entry in the form and table updates.
Teri Bridges OP  @Reply  
    
5 years ago
Richard, Once again you Made my day!!! It took me some time but it works!! I am learning More and More. Thank you so Much!! Both lessons Were great. As usual the error is between the keyboard and the Chair.
Richard Rost  @Reply  
          
5 years ago

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 7/26/2026 4:43:54 PM. PLT: 0s