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 
Setting Data on Another Form
James Hopkins 
     
2 years ago
Hey Richard and the Guys, I trying to figure out the best way to Set Data in Another Form's Fields from the Main Form Fields.

Ex:Forms!RefundExpenseF!ExpenseDescription = Description
   Forms!RefundExpenseF!RefundDate = Date
  
Ex2:Recordset
    rsInvoiceServiceDetail.AddNew
    rsInvoiceServiceDetail!ServiceID = rsEstimateDetail!ServiceID
    rsInvoiceServiceDetail!ServiceName = rsEstimateDetail!ServiceName
Adam Schwanz  @Reply  
           
2 years ago
Need more information, don't know what you're trying to do. Either way you have it there works fine if it's setup to work like that. The Forms! method would be kind of awkward since it would need the other form open but for the user to be back on the main menu. I would just use a recordset or a SQL statement.
James Hopkins OP  @Reply  
     
2 years ago
Hey, I am trying to set the Combo Boxes on the Other Form from the Main Form Field when the Another Form opens. So, I want open the Other Form from the Main Form's Fields' Data and then set the Other Form's Fields like: Combo Boxes and Text Boxes, with the correct Data.
Richard Rost  @Reply  
          
2 years ago
In the button that opens the form you will...

Docmd.openform "NewFormF"
Forms!NewFormF!ComboBox = MyID

That's 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: 5/6/2026 12:39:57 PM. PLT: 1s