G
Guest
I have created a hidden listbox("kantoren") on a Form.
This listbox is linked to a table. I want to use the number of records in
VBA to determain a loop.
The problem is that the listbox is not refreshed when I delete or add
records in the table.
See here a part of the code:
Set ListControl = Forms!hoofdmenu!kantoren
With ListControl
TELLER = .ListCount
End With
For TEL = 1 To TELLER
Does anyone have a solution?
This listbox is linked to a table. I want to use the number of records in
VBA to determain a loop.
The problem is that the listbox is not refreshed when I delete or add
records in the table.
See here a part of the code:
Set ListControl = Forms!hoofdmenu!kantoren
With ListControl
TELLER = .ListCount
End With
For TEL = 1 To TELLER
Does anyone have a solution?