K
KDeveloper
Hi all. Hope you can help me with this question.
I have a form with two subforms on. The main subform is in datasheet view
(named KTable), while the second subform is in continiuos form view (named
KNotes). In the parent form, I have a text box named ID. The text box has the
following source: =[KTable].controls("ID")
The KNotes subform is linked to this ID text box.
This construction will display the related rows of KNotes when I select a
new row of KTable. So far everything is OK. The problem is when I want to
change some of the values in KNotes.
If KTable.form.orderby is not set, or oderbyon is false, everything work
fine. But when KTable is ordered, I get this problem: I can only keep focus
on the first row of the KNotes subform. If I click on an other row, or the
insert-new-post rows, focus goes immidietly back to the first row, and to the
first column of that row. This makes it almost impossible (unless I'm VERY
fast) to change anything but the first row of KNotes.
Can anyone help me with this?
I have a form with two subforms on. The main subform is in datasheet view
(named KTable), while the second subform is in continiuos form view (named
KNotes). In the parent form, I have a text box named ID. The text box has the
following source: =[KTable].controls("ID")
The KNotes subform is linked to this ID text box.
This construction will display the related rows of KNotes when I select a
new row of KTable. So far everything is OK. The problem is when I want to
change some of the values in KNotes.
If KTable.form.orderby is not set, or oderbyon is false, everything work
fine. But when KTable is ordered, I get this problem: I can only keep focus
on the first row of the KNotes subform. If I click on an other row, or the
insert-new-post rows, focus goes immidietly back to the first row, and to the
first column of that row. This makes it almost impossible (unless I'm VERY
fast) to change anything but the first row of KNotes.
Can anyone help me with this?