Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Developers    Comments List
Upload Images | @Reply | Bookmark | Link | Email | Next Unseen |
Updated a querybased Form
Gregory Clancey 
    
3 years ago
Sorry if this is a bit prosaic, but I'm stuck.

I've 2 Forms; Form1 bound to TableA and Form2 bound to a Query derived from the same table only with Strings added corresponding to numeric key-fields which the query obtains from supporting Tables via relational connections.

When Form2 alters a value of one of the key-fields in the Table which underpins the query the query automatically reflects this change in its related String field. Form2 then closes by means of a CommandButton.

QUESION: How do I see the updated String on Form1 using dLookup in a TextBox?
Gregory Clancey OP  @Reply  
    
3 years ago
I guess I'm asking, what event-trigger. I'm currently relying on F5.
Gregory Clancey OP  @Reply  
    
3 years ago
I MAY HAVE FOUND MY ANSWER. I SEEM ABLE TO PUT "Me.Requery" AT THE 'ON ACTIVATE' EVENT OF "Form1", THAT IS, THE FORM BOUND TO THE QUERY. THIS LOOKS TO SYNC THE DISPLAY WITH THE UNDERLYING DATA AS ALTERED BY ''Form2."

I was like a mad man all morning trying to find something that would work. I'm getting a fair amount of "twinkling" in some of my TextBoxes. Let's hope I hadden't monkeyed with now forgotten code lines which simply did not need to be changed and that this is producing the effect. No matter. The damned thing keeps working!
Gregory Clancey OP  @Reply  
    
3 years ago
For those also working to understand the minutia of "REQUERY", the cause of the "twinkling" mentioned in my earlier comment was simply due to the fact that I'd "Form.Requery" when the situation called for a mere "<control name>.Requery". One such command for each control possibly affected.

I learn by watching the progress of fellow students.

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

Next Unseen

 
 
What's This?

 

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: 9/29/2026 8:29:21 PM. PLT: 1s