General information
Category:
Forms & Form designer
Jon;
When you return to the grid, you might first set the grids rowsource to SPACE(0), and then the correct alias.
Tom
>Here's the scenario:
>
>I have a form with a grid on it. The record source is a local view whose buffering mode is 5. After doing some data entry on the grid (which involves scrolling vertically past the initially displayed rows), we try to save the record.
>
>After a successful TABLEUPDATE(), we issue a GOTO TOP in the view so as to reposition the grid to the first row (I've also tried just refreshing the grid). At this point, the grid goes completely blank and turns grey (like it's either disabled or locked). It stays this way until I click on the scroll bar or something to bring it back to life. Once I do that, there seems to be an extra row on the bottom of the grid that contains weird characters. If I exit the form and reload it, then there's no extra row in the grid and everything looks fine.
>
>The table itself doesn't have any problems. I've run SDT's repair, as well as Recover.
>
>I'm hoping someone could lead me in the right direction as to where the problem might be that is causing this weird behavior.
>
>Laterness,
>Jon
>
>P.S. It appears that going vertically past the initially displayed rowset might have something to do with this, since the blanking out doesn't happen if I just stay on the first set of rows when saving the record.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only