I had this code:
addrange = .Fields["l_f_add"].Value + "-" + .Fields ["r_t_add"].Value
MESSAGEBOX(addrange + " " + stname)
SUSPEND
In the debugger:
The first value, when I held my cursor over it, said "1800". The second value was "1899". Addrange was "0-0 ". This is with the "tooltips" type of thing.
In the locals window, addrange was "1800-1899". I put a watch on it. It said "0-0 ". The messagebox popped up with "0-0 ".
I was baffled.
With no clue what was wrong, I tried changing the variable name to "arange". Now everything's consistant and working fine.
Is there something special about addrange? It wasn't blue, so it shouldn't be reserved. Oh, also, I had declared addrange as a local variable.
Wierd, huh?
-Michelle
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only