Sometimes but not always (Probably more than not)
I get a bleep when pressing the F8 key whilst trying to debug a code, other times it will cycle from the code and perform an action.
Why is this?
Thanks
Darren
Sometimes but not always (Probably more than not)
I get a bleep when pressing the F8 key whilst trying to debug a code, other times it will cycle from the code and perform an action.
Why is this?
Thanks
Darren
usu the beep means you cant move because something else is open, like a popup screen.
But if thats not the case, can you select the next line and click SET NEXT STATEMENT?
Attachment 27866
Hi,
I still get the bleep but when checking the debug menu, Set next statement is Greyed out?
No Access forms or elements are running at this point, Access 2016
Thanks
Darren
Further Update:
Just tried advice on google (Code example)
It works with that piece of code, steps through 1 line at a time.
Can you only debug certain bits of code?
Attachment 27867
Did you set a breakpoint? The debugger needs to know where to start the code execution.
In your example, it looks like the code in the background is for an after_update event. Simply pressing F8 while some code is showing will not execute that code.
Thanks Dave, I'm fairly new at programming.
So no I didn't set a breakpoint, just out, ill try that when I get back.
Thanks for taking time to help