A
Alatoruk
I have some code on a form. it calculates various costs to array variables,
then writes these variables to a load of labels on the form. It was working
fine, but I need to run the same code from other forms so have been putting
it all into functions within a new module.
now here is the rub. I click the button to run the code and all my vaiables
appear on the form as 0s
hmmm I thought, so I put a breakpoint in at the begining and stepped through
the code. everything was correct and the labels now had the proper datra in
them.
took the breakpoint out, ran the code and all 0s again
put the breakpoint in, ran the code, pressed run once the breakpoint appeared
and all the labls have the correct data in them. but without the breakpoint
I get 0s
HELP!!!!
then writes these variables to a load of labels on the form. It was working
fine, but I need to run the same code from other forms so have been putting
it all into functions within a new module.
now here is the rub. I click the button to run the code and all my vaiables
appear on the form as 0s
hmmm I thought, so I put a breakpoint in at the begining and stepped through
the code. everything was correct and the labels now had the proper datra in
them.
took the breakpoint out, ran the code and all 0s again
put the breakpoint in, ran the code, pressed run once the breakpoint appeared
and all the labls have the correct data in them. but without the breakpoint
I get 0s
HELP!!!!