What I want is to open all forms, one by one, and going through all controls to edit The .OnMouseMove event
How can it be done ?
I tried to use this piece of code:
This work but I can't find the way to go through controls as what I get is AccessObject and not a Form object, and can't use this part of the code:
How can it be done ?
I tried to use this piece of code:
Code:
Dim frmObj As AccessObject
Dim ctl as Control
For Each frmObj In Application.CurrentProject.AllForms
DoCmd.OpenForm frmObj.name, acDesign
Code:
For Each ctl In frmObj.name
With ctl
....
End With
Next ctl