General information
Category:
Forms & Form designer
Hi Rolandas.
>> I need declare function GotFocus(). My goal is refresh form every time, when move to next row. <<
Then how about putting this code in the AfterRowColChange method of the grid:
Thisform.refresh()
Of course, this code will execute even when you tab from column to column within a single grid row. So what you may want to do is add a custom property to your grid called nRecNo and set it to RECNO(This.RecordSource) in the BeforeRowCoChange. Then, before refreshing in afterRowColChange, you can check for This.nRecNo = RECNO(This.RecordSource) and only refresh the form when they are different.
Marcia
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