Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

requery alternative?

Status
Not open for further replies.

Rubius

Programmer
May 12, 2000
57
CA
what I have is a form with 2 subforms(both datasheet view). now, as I edit the data in subform1, subform2 is a display of the running total of the column of data I am updating in subform1. Right now I have Me!Requery set to Ontimer every 5 seconds. Obviously, running code every 5 seconds to update a query is not very efficient, and it makes the hour glass come up every 5 seconds. This is distracting to my employee's. Is there a way to update the running total without using Me!Requery?<br>thanks in advance!
 
Can you be more elabourate? Because I am entering data into a subform which is in datasheet view, and it's another datasheet subform that needs updating, it doesn't reconize when I do something like:<br><br>Me!subform2.Requery<br>or<br>Forms!subform2!field.requery<br>
 
To refer to a mainform from a subform use the Parent property.<br><br>Me.Parent!subform2.Requery <p>Jim Conrad<br><a href=mailto:jconrad3@visteon.com>jconrad3@visteon.com</a><br><a href= > </a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top