DataBase refreshing is ugly..

I'm designing a DB application.
But whenever I'm moving between pages(At run-time), I see an ugly refresh of the next page table (which is connected to the DB).

I'm asking which way is the best way in those cases, when you are moveing to a different form, which Selects from a table at startup.
First selecting and then showing ?, maybe the other way ?
I tries some ways but it stayed ugly..
LVL 1
GuryTraubAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

paul_tsekovCommented:
Hi ,VBFan
   if you are talking about shoing some grids on different forms, before selecting make the grid invisible
  Grid1.Visible=False
Then fill the grid.
  After that Grid1.Visible=True

Remember:
  When you have some calculations on visible objects their much slower than in the case when you make the object invisible on the form, then do the calculations and then show the object (make it visible).

   Try this it really works well.


           Pavel Tsekov
       email : paul_tsekov@yahoo.com

 
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TimCotteeHead of Software ServicesCommented:
You might also consider setting the .redraw property of the grid to false whilst it is being populated and then back to true again. Though if it is invisible this may not have much benefit, if you subsequently recalculate the grid whilst it is displayed it makes for a more rapid and cleaner update.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.