General information
Category:
Forms & Form designer
Hi all
I have a form with one PAGEFRAME on it. the pageframe have two page and on each one i have a grid. i want to when i select a row in page1.grid1 and press a key (ie F12) the page2 be active and related data show in page2.grid1. all things work good but sometimes the page2.grid1 is empty and only when i press UPARROW key the data is appear in grid.
here is my code :
SELECT &CursorTempB
SET ORDER TO tag rbnum
SET FILTER TO rcode = 2
LOCATE && for go to top
thisform.pageframe1.page2.grid1.Refresh
thisform.pageframe1.page2.grid1.SetFocus
thisform.pageframe1.page2.grid1.AfterRowColChange
thisform.pageframe1.page2.grid1.ActivateCell (1,1)
what is wrong?
Thanks for your help
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