capture move from row to row in grid 
Author Message
 capture move from row to row in grid

Quote:

> Reposting article removed by rogue canceller.

> OK, I have two grids.  The current record of grid1 sets the
> filter for grid2.  

> Q: in grid1, when you move from record1 to record2, how can I capture
> that move to refresh the filter for grid2?  What event is triggered
> in either the grid or its table that will allow me to refresh the
> filter for grid2?

> Is this a simple override of the 'Next' method for grid1's table? or is
> Next not implicitly called by changing the current record in a grid?

> Much Appreciated!

The OnDataChange event of TDataSource is triggered when a new record
comes into focus. However, if the purpose is merely to keep the two
tables in sync it might be an idea to link them together in a
master-detail relationship.


Sat, 13 Mar 1999 03:00:00 GMT
 
 [ 1 post ] 

 Relevant Pages 

1. capture move from row to row in grid

2. Move to next row in grid (VFP3.0)

3. Moving multiple rows into one row

4. Moving current record to match row in SQL result table row

5. Moving Multiple Rows to a Single Row

6. Copying selected row from a grid to antother grid

7. Error: Row handle referred to a deleted row or a row marked for deletion

8. Row handle referred to a deleted row or a row marked for deletion

9. Move() moves to wrong row

10. Help capturing return rows from stored procedure programatically

11. Db Grid cannot insert rows when table is empty

12. Different Color Rows in Grid Box?


 
Powered by phpBB® Forum Software