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 
Field related
Leo Rivera 
   
5 years ago
Ross hi, I have a question in regards relation table in the process to create a field on a table using the lookup Wiizard.  You know you can bring several columns from that relationship.  In my case I brought 3 columns one of the column is a number value that I want to use in a further query.  The problem is that the query can reach that column I am using [name of table.name of column] but not works. Any Idea?
Richard Rost  @Reply  
          
5 years ago
I'm sorry, but I don't understand your question. Can you please elaborate?
Leo Rivera OP  @Reply  
   
5 years ago
I know was very complicated.  I have two tables one is for clients and another one is a product table this product tables has a couple of column that contain Product desc, Risk Value (numbers here from 1-10) and Risk Description (low, medium and high).
When I put in my members tbl Product I do a lookup wizard pointing the product table.  Now I do a query and when I select product I which bring the filed of Risk value is that possible? Because I cannot pulled so far.
Richard Rost  @Reply  
          
5 years ago
Sounds like you're looking for an AfterUpdate event, but this might be beyond your current skill level. I'm still not 100% sure what you're trying to do. You want to edit your Member record by selecting a Product and then having it get the Risk Value for that Product and save it in the Member table? I would say you don't need to do that. Just join the two together and use a combo box. But without knowing the context of exactly what you're trying to do, it's difficult to help you.
Adam Schwanz  @Reply  
            
5 years ago
Maybe I'm not following either. That combo is bound and storing the value of your ID in the table correct?

Then you want to make a query tell you what the risk value was based on that product ID picked in the combo? Why can't you just bring the relationship into the query?

If I'm not understanding right, this might also give you a nudge in the right direction. Make a new field in the query like this replacing your field names.

RiskValue: (DLookUp("RiskValue","ProductT","ProductID=" & [ProductID])
Adam Schwanz  @Reply  
            
5 years ago
Should be this, not sure why it cutoff my NZ, that will return 0 on nulls (products with no risk value listed)

RiskValue: NZ(DLookUp("RiskValue","ProductT","ProductID=" & [ProductID]),0)
Richard Rost  @Reply  
          
5 years ago
Part of the problem is that I don't know WHAT you want to do with this data? Please read my article on Context.

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/6/2026 10:11:40 AM. PLT: 0s