SubForm Focus

atis123atis123 Member Posts: 8
Hi all!

I 've a card form, with three subforms, one on the first tab, and two on the last tab. I set a filter to the subforms on the last tab with their own functions in the OnAfterGetRecord trigger. When I open the form, after the triggers run, the last tab gets the focus, this is the first problem, and after I select the first tab, I can't step to the next record using the mouse wheel, this is the second problem.
FILTERGROUP(2);
SETFILTER(KihelyezesVege, STRSUBSTNO('<%1',VegeDatum));
FILTERGROUP(0);
CurrForm.UPDATE(FALSE);

I can solve the first problem with calling a function to the first subform like this on the first tab, but it doesn't solve the paging problem.

Any idea?

Comments

Sign In or Register to comment.