Peter
Two suggestions. First, you need to set the grid recordsource to space(0) before you refresh the cursor then set it back afterwards.
A better way is to create a cursor with the same columns as the sql cursor. Then when you refresh, you zap the cursor that the grid is using and then append from the sql cursor. Last year I changed my data handling classes to do this and my life is much better now.
>Initially everything works. The RightClick method assiated with the Grid1/Column1/Text1 field fires and does what it's supposed to (activate another page in the pageframe).
>
>Since the data in the grid are based on a SQL Server query, the data are frequently refreshed.
>
>At the first refresh the RightClick method stops working.
>
>I know from previous experience that the grid has trouble with binding, so I have tried setting the CurrentControl property back to the text field, but all in vain.
>
>
>
>
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