I have an issue with a scrollbar. Maybe someone has an idea how to fix it?
OnOpen form such code is executed.
CurrForm.Subform.FORM.GetTableView(lrec);
lrec.SETRANGE(Department, '1');
CurrForm.Subform.FORM.SETTABLEVIEW(lrec);
CurrForm.Subform.FORM.UpdateForm(); // does the UPDATE of subform
Can you provide more information? What is the exact issue you are having with the scrollbar? As far as the code segment you posted, is there a reason you can't use the SubFormView property on your subform? If the department filter is always '1' then I would just put it in the SubFormView property.
Comments
I traded my sanity for a railgun