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 Developer Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Set value in an open subform
Samuel Masterson 
   
3 years ago
I am trying to pass a value from an open dialog form to a control within a sub form, contained in an open Navigation Form.

Tried many combination of syntax but none of them work.  This is my current version, which came from a chatbot.

Forms!frmMainMenu!subfrmPOHeader.Form!txtTargetDeliveryDate = Me.TargetDate

Suggestions?
Gary James  @Reply  
      
3 years ago
When things get this complex in a Visual Basic or VBA program, I've always found that custom Events are by far the easiest and simplest answer to the complex problem.   I've created an example program showing how to use them, and I've placed it in my public Github account at : https://github.com/NfaToys/Global-Messaging-Events-Class.git

The program creates from two to 9 duplicate forms that all have a textbox where you can type in characters.   Type into any textbox on any form and they all mimic the textbox you're typing into.   Delete any form at will and the process continues uneffected,
Adam Schwanz  @Reply  
           
3 years ago
Value From a Form
Value From Subform

You could try these. The Syntax the chatbot gave you is probably pretty close. I can't really picture what you have going on there right now, if you wanted to upload a picture using the upload button, I may be able to give a better answer with a visual.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Developer 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 7:26:44 AM. PLT: 0s