Results 1 to 5 of 5
  1. #1
    d9pierce1 is offline Expert
    Windows 10 Access 2016
    Join Date
    Jan 2012
    Location
    Oklahoma
    Posts
    776

    How to turn off Echo on SubForm?


    Views: 2 Size: 1.98 MB">NewData BackUp copy 8.zip


    Hi all,
    I attached db and opens to form in question (frmBusiness), When this form opens or going from one record to another on that form, the sub form (frmAddess) along with the connection subforms to that, Blink. I think Echo False and such would work to stop this but i have no idea where to put it on the forms. I have tried all sorts of places with no success so far. Its really anoying and I beleive there is a way to solve this hopefully. Any help would be fantastic!

    Thanks
    Dave

  2. #2
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,793
    Not sure that is your issue. Your form events coding causes multiple runs of the OnCurrent code. First is the refresh. It makes no sense to refresh a form that is just opening. That is one event that causes one of the multiple OnCurrent triggers. Then it seems a bunch of fields get updated by code, causing OnCurrent to fire again, which causes a Requery, which causes the update sub to run again, which again fires the refresh, which calls the fullname function (which runs 3x for some reason)... I got lost between trying to follow that and Boston vs Astros. You did step through this code and already know that, yes? So the main focus of your post is to know how to turn off the flickering and allow all of this to still run as is?

    If you work in Application.Echo false in this chain of events somewhere (in the open or current event?), be sure to use an error handler lest you find yourself not able to interact with anything on the screen because Echo is turned off.

    My focus would be on preventing what presents the need for controlling Echo in the first place. At this point, I have no idea what that is since only you know why this chain of events was created.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    d9pierce1 is offline Expert
    Windows 10 Access 2016
    Join Date
    Jan 2012
    Location
    Oklahoma
    Posts
    776
    thanks, I will look into the refreshing and see if that helps
    Again,
    Thanks
    Dave

  4. #4
    d9pierce1 is offline Expert
    Windows 10 Access 2016
    Join Date
    Jan 2012
    Location
    Oklahoma
    Posts
    776
    Hi Micron,
    Removing the Refresh's did the trick. Thank you! All forms still worked well without it so that is good!
    Thanks
    Dave

  5. #5
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,793
    Glad that did the trick for you.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Echo - True or False ?
    By LeonS in forum Access
    Replies: 6
    Last Post: 08-30-2021, 05:31 AM
  2. Turn Off Datasheet Subform First Row Highlight
    By PSSMargaret in forum Forms
    Replies: 11
    Last Post: 06-22-2020, 10:32 AM
  3. Echo On- Echo Off
    By LeonS in forum Programming
    Replies: 2
    Last Post: 07-10-2014, 08:25 AM
  4. docmd.echo
    By jlgray0127 in forum Forms
    Replies: 1
    Last Post: 04-17-2013, 01:28 PM
  5. Echo on/off
    By nigel brown in forum Access
    Replies: 3
    Last Post: 12-08-2010, 08:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums