Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Result From IF Statement
Mark Pierce 
     
4 years ago
Hello all,
I have am working on converting an process from an excel to Access. One of the sheets is an attendance sheet that tracks the minimum required attendance points and training types needed to get moved to the next training level.

I have done this by using a sub form on the member form, it is a continuous form listing the attendance and event type. Then in the footer I have Sum'ed fields with per the requirements needed, these turn green when meet.

What I am having issues with is figuring out how to take the current Rank field (this is manually updated) and comparing it to the requirement fields per each level to see if the member needs promoted to the next level.
Mark Pierce OP  @Reply  
     
4 years ago
Here is an example of what I am trying to do:
IIf Current rank is Less than (([Requiredpts] = >=5), ([Basic1]= >=1), ([Basic2]= >=1), ([Orientation] = >=1),Yes)
Adam Schwanz  @Reply  
           
4 years ago
IIF Function

I'm kind of confused what you're trying to do. Can you elaborate more? If it's just simply comparing fields it should be something like this
IIF([CurrentPoints]>=[RequiredPoints],"Pass","Fail")
Mark Pierce OP  @Reply  
     
4 years ago
I will try my best Adam:

It is a little more complicated that just straight up points. While you have to have a minimum amount of total points, each rank has minimum required courses also. That is why in the EventsLogT I have attendance points, and then the minimum required courses. It is a series of 0 or 1, 1 if you attended the required class (i.e. Basic1), then also a point for attendance for that event.

So for a new person to advance past LvL 0 they have to have:
[Requiredpts] >=5),
[Basic1] >=1),
[Basic2] >=1),
[Orientation]  >=1

Once they reach they reach LvL 1, reaching LVL 2 would something like this:

Current LVL is Less than LVL 2 requirements =  (([Requiredpts] = >=5), ([Basic3]= >=1), ([Basic4]= >=1), Yes)
Adam Schwanz  @Reply  
           
4 years ago
So unless you need to know specifically which one they failed, it should just be throwing them all into the criteria
I'm also guessing they have a "current points" field to compare to the total required points? If not just take that out and do RequiredPoints>=5

IIF([CurrentPoints]>=[RequiredPoints] and [Basic1]>=1 and [Basic2]>=1 and [Orientation]>=1,"Pass","Fail")
Mark Pierce OP  @Reply  
     
4 years ago
That got it Adam, Thanks.

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: 5/7/2026 3:25:06 AM. PLT: 3s