Yes, you have the right idea. You should just provide a parameter to your FillLvTijdvakken routine, I'm typing off the cuff here, so let us see :


Public Sub FillLvTijdvakken(frm as Form)
...