I have a form with 3 grids where the table relations are set in the DataEnvironment.
The rows in each Grids are displayed fine.
Insert question:
When inserting/appending a row in the parent (by doing APPEND BLANK) the rowfocus moves to the last line of the Grid (at my empty line position). That is exactly what I want.
Now when doing this in the two detail Grids, the rowfocus always moves to the first line, so I have to click/scroll to the new inserted record.
I tried removing the relationships in the dataEnvironment and put in the form.init metod code SET FILTER TO for setting the relationship. Then the insertion works correct, but then I'm having display problems with the third grid (detail-detail) which is not refreshed correctly when moving through the first (parent) and the second (child) Grid.
How can I solve this.
Delete question:
When I delete all rows in a Grid line by line, finally no rows are displayed in the Grid. When inserting the first record again, the row is not displayed in the Grid. thisform.refresh() does not show me the record.
What else do I have to do to display the record?
Thanks in advance for any help.
André
The rows in each Grids are displayed fine.
Insert question:
When inserting/appending a row in the parent (by doing APPEND BLANK) the rowfocus moves to the last line of the Grid (at my empty line position). That is exactly what I want.
Now when doing this in the two detail Grids, the rowfocus always moves to the first line, so I have to click/scroll to the new inserted record.
I tried removing the relationships in the dataEnvironment and put in the form.init metod code SET FILTER TO for setting the relationship. Then the insertion works correct, but then I'm having display problems with the third grid (detail-detail) which is not refreshed correctly when moving through the first (parent) and the second (child) Grid.
How can I solve this.
Delete question:
When I delete all rows in a Grid line by line, finally no rows are displayed in the Grid. When inserting the first record again, the row is not displayed in the Grid. thisform.refresh() does not show me the record.
What else do I have to do to display the record?
Thanks in advance for any help.
André