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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to prevent user from seeing data change in loop?

Status
Not open for further replies.

grwd

Technical User
Jan 20, 2002
20
0
0
US
(Using D5 and Paradox tables.)
I have a group of cascading tables displaying the current record of table 1 in Edits, related records from Table 2 in a grid, etc...

In my code I am doing a while loop through Table1 and doing queries within the loop.
As the code runs, the user can see the Table1 data in the edits changing as the loop step through the records.

I do I prevent the user from seeing the changes until the process ends.
 
normally your table has a .DisableControls property, that should do the trick

--------------------------------------
What You See Is What You Get
 
When you use .DisableControls, you also need to remember to use .EnableControls after your loop completes.

-Dell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top