Bug in Code

DavidWRouse

Registered User.
Local time
Today, 20:08
Joined
Jul 24, 2003
Messages
42
Random Bug?, can i refresh all code

I have been doing a lot of vb in the last few days and have have several weird bugs.

And code doesn't work.

But if i delete the routine. And re type it, It works.

This is how i am declaring Vars etc at begining of my routine.
Dim i, intMeterLevel As Integer
Dim strLabel As String

I am using Access 2002.
 
I know this is stating the obvious but have you clicked the save button once the code has been typed in the VB window. Post your code it might help solve your post.

Andy
 
Yes, i always save code before running it. Just incase it locks up.
Although code does not need to be saved before it's run.

It's like a Variable name has been stored in memory, and if I then change the type etc.

I cannot provide any Code samples at the Moment. When this happens again I will fully document the Weirdness.
 
No I wasn't aware of that, I have just checked it out in the debugger.

That might solve some of my weird things that happen.

Thanks
 

Users who are viewing this thread

Back
Top Bottom