have code below when I place cursor on the do line and hit F8 nothing happens. I've compiled the module. Using MS Access 2010. I've opened the trust to include the folder where I am working. Am I missing a reference somewhere? thx
Public Function ab1()
Dim tot, x, y, z As Integer
x = 3
y = 25
z = 0
Do While z < 5
z = z + 1
tot = x * y
Loop
MsgBox "The loop made " & z & " repetitions."
Public Function ab1()
Dim tot, x, y, z As Integer
x = 3
y = 25
z = 0
Do While z < 5
z = z + 1
tot = x * y
Loop
MsgBox "The loop made " & z & " repetitions."