×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How do I see new data immediately in a form ?

How do I see new data immediately in a form ?

How do I see new data immediately in a form ?

(OP)
Hi,

I have a form called "CustInquiry" that has a Tab Control with 2 pages in it.  One for "InquiryStatus"--schedule, another for "InquiryDetails"--data entry.  
After I enter data to "InquiryDetails, schedule shows up to "InquiryStatus".

However, the data that I just entered to "InquiryDetails" doesn't show up immediately from "InquiryStatus".  

I have to close the form "CustInquiry" and reopen it...then new data shows up "InquiryStatus".

How do I see data that I just entered immediately from a form without close the form ?   

I'm using subform in "InquiryStatus" and Record source from "query" that I created.  

RE: How do I see new data immediately in a form ?

Have you tried the classical methods ?
Refresh
Requery
RecordSource = RecordSource
...

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244

RE: How do I see new data immediately in a form ?

In the AfterUpdate event of the InquiryDetails subform (is there a subform on that page?), tell the parent form to requery the status subform:

CODE

Private Sub Form_AfterUpdate()
  Forms!CustInquiry!InquiryStatus.Form.Requery
End Sub
*** If you use the Refresh action, any new records won't show up and deleted records won't disappear.

VBSlammer
"You just have to know which screws to turn." - Professor Bob

RE: How do I see new data immediately in a form ?

(OP)
Hi Guys,

It works fine... thank you.
You guys have a good day today.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close