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 
Stock Code and Pricelist File
Julian Dyer 
     
4 years ago
Hi,

I am sure I've see a youtube video but don't know what the search term would be.

I have a stock table and a pricelist table. I want to input the item price on the stock table file as I add new lines however I want to add/amend the pricelist table when I have a supplier annual price increase.

How do I do this?  Can both files be updated via 2 files or just by updating the pricefile only.

Thanks
Alex Hedley  @Reply  
            
4 years ago
Adam Schwanz  @Reply  
           
4 years ago
You just need to use a AfterUpdate when you change the price, to go find the price in the other table and update it.

For instance

Me.Refresh

If PriceField <> "" Then
Dim X
X = DLookup("Price", "ProductList", "ProductID=" & ProductField)
If X = PriceField Then
  Exit Sub
Else
  CurrentDb.Execute "UPDATE ProductList SET Price=" & PriceField & " WHERE ProductID=" & ProductField
End If
End If
Scott Axton  @Reply  
        
4 years ago
Julian go to the Access Index CTRL-F on that page.

You have the courses.  Just need to revisit them.
Search for Product, Add Item, Update Price, etc.


02. Update Vendor Pricing



Scott Axton  @Reply  
        
4 years ago
Also this one:  Import New, Changed Records
Especially the extended cut.
Richard Rost  @Reply  
           
4 years ago
Yeah, I cover things like this in a lot of places. Just all depends on how you want to handle it.

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: 6/16/2026 12:26:52 PM. PLT: 1s