A
Alexcamp via AccessMonster.com
As I program my forms I used to rely a lot on the step-by-step debugging (F8
key). For some reason, I can get it to work here.
When I press F8 I get a dumb tone and nothing happens.
When I place my cursor somewhere in the sub and use the CTRL-F8 key, still
get a dumb tone and nothing happens.
The same behavior occurs if I use the debugging menu instead of the keys.
It has nothing to do with the "use special keys" checkbox.
Also, another strange behavior (probably related) is when I press the run
button (the one that looks like a "play" button), instead of running the sub
it will open the "macro" window (the same one that opens when you go to Tools
--> Macro in the menus).
So, can anyone tell me what the hell is going on ?
I just created a brand new database with a little Form with a command button
and a text box. here's the code I am trying:
Private Sub Command0_Click()
Dim myText As String
myText = Me.Texte1.Value
Message = MsgBox(myText, vbOKOnly)
End Sub
simple enough. but I can't even debug this one.
If I press the command button on the form it runs fine.
Also, If I leave the textbox empty the code will pause because of a Null
value, and from there I am able to do stepbystep debugging.
I would like to add that this happens in EVERY database I have here.
any help will be greatly appreciated!!!!
key). For some reason, I can get it to work here.
When I press F8 I get a dumb tone and nothing happens.
When I place my cursor somewhere in the sub and use the CTRL-F8 key, still
get a dumb tone and nothing happens.
The same behavior occurs if I use the debugging menu instead of the keys.
It has nothing to do with the "use special keys" checkbox.
Also, another strange behavior (probably related) is when I press the run
button (the one that looks like a "play" button), instead of running the sub
it will open the "macro" window (the same one that opens when you go to Tools
--> Macro in the menus).
So, can anyone tell me what the hell is going on ?
I just created a brand new database with a little Form with a command button
and a text box. here's the code I am trying:
Private Sub Command0_Click()
Dim myText As String
myText = Me.Texte1.Value
Message = MsgBox(myText, vbOKOnly)
End Sub
simple enough. but I can't even debug this one.
If I press the command button on the form it runs fine.
Also, If I leave the textbox empty the code will pause because of a Null
value, and from there I am able to do stepbystep debugging.
I would like to add that this happens in EVERY database I have here.
any help will be greatly appreciated!!!!