Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refreshing grid table

Status
Not open for further replies.

Vandolfph

Programmer
Jan 28, 2016
4
PH
hello there!!!
im having this problem on refreshing grid..
i have 2 grids from 2 tables where field id on both is relational.
when i select any record on the first grid, the second grid displays its corresponding data.
but when the second grid was set focus or being clicked, the data on the second grid is liked being locked or
i mean nothing happens when i click any record on the first grid.

how to fix this problem..tnx
 
If you have a relation the child grid only displays child data of its current parent, so you are kind of "locked" there. Is that what you mean?
You also might look, if you find code in AfterRowColChange in grid1 that may only display child data in other ways, eg by SET KEY or by querying just child data.

Besides all that in any grid you can only edit data, if AllowCellSelection is .T. and if the data/cursor is not readonly.

Bye, Olaf.
 
tnx for the response..
after removing the code thisform.grid.enabled = .F.
it worked.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top