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 Advanced 2    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
02 Add Details Before Order 238
Mark Young 
    
14 months ago
Not trying to "one up" the Instructor here, who I've very much appreciate all that I am learning from him, but...

Could the macro be assigned to the OnClick Event of the Add New Order Button on the CustomerF so that it fires when the button is clicked?

This way, once the OrderF loads you already have the new OrderID.

I am going to attempt to post a screenshot after I submit this per instructions...

Mark Young OP  @Reply  
    
14 months ago

Adam Schwanz  @Reply  
           
14 months ago
Not sure what the event or macro is supposed to do. I don't remember the class, and you won't use macros for long before getting into VBA.

But usually when setting values when you open a form, the problem you're going to run into is you are creating the record then when you open the form. It will immediately be "dirty" because you set a value directly instead of "default value" and if you just "X" out, you will have created a record that you might not have wanted to. So you'd have to take further steps to "cancel" the record on close if you wanted to do that route.

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

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/22/2026 2:30:26 PM. PLT: 1s