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

Refresh When Found Found In Table

Status
Not open for further replies.

FontanaS

Programmer
May 1, 2001
357
US
I do a find on a datawindow that successfully finds the row I am looking for.

I then do a scrolltorow, but the information does not appear on the screen?

Is there a refresh or something that makes the datawindow display the information?

THANKS!
 
Normally it should display data.

Have you used setredraw(false) function somewhere without calling setredraw(true) after the code for scrolling is getting executed?

Do you have similar code somewhere else which is scrolling you back to original row?

If you can show the code you have written, maybe it can be figured out.

RT
 
I figured out the problem. I was trying to do everything in the itemchanged event.

I had to create a new user event and when I put the code there it worked fine.

Apparently I found that the item changed event had to complete first, before it could do the refresh

THANKS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top