General information
Category:
Forms & Form designer
>>Hi all,
>>I have a form with a grid on it.
>>I select a row from grid, I edit some data in textboxes on the form and save them.
>>In the last line of my save code I put below line:
>>Thisform.grid1.setfocus
>>But cursor goes into the last row in grid.
>>How I can return to same row that I edit it?
>
>You should move pointer in the grid.recordsource to the row you want. It's usually done by Seek() right before Setfocus.
thank you very much
Previous
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