some variables lose thier data?????

tomro1

Registered User.
Local time
Today, 07:45
Joined
Jun 12, 2006
Messages
23
hi all,

I have a few forms with general variables, some date, strings, integers and controls.

now somewhere in my code thier is a procedure that creates controls in another form and puts code behind them.

now the weird thing is, when he runs this piece of code, all my date and control variables loses their data.
the freaky part is that the integers and strings don't lose their data...
anyone an idea how this can happen and why?
 
there's probably something in your code that's doing this.

There's a very minimal chance that it is just a corruption problem.
 
Where are you declaring these and how are you using them? The other thing to be aware of is, if you pass values by reference instead of by value you could get unexpected results.
 
Tomro,

"now somewhere in my code thier is a procedure that creates controls in another form and puts code behind them."

I'd have to see a sample DB.

Does the code remain?

Strings and integers are OK?

But Dates and "control variables" are not?
What's a control variable?

Need a sample, or a lot more info.

Wayne
 

Users who are viewing this thread

Back
Top Bottom