Hi folks.
I was running with a problem related to a form's datasession. Even after release memory variables, closing all the tables, databases and fopen or something else, the form's datassesion was unable to be cleared. I try also form.datasession.release method but without success. So, I decide to take a deep look inside the code. After each step I interrupt the code execution and check if the form's datasession still remains. The things ran ok until... an
IF TYPE() statement!
The sintax is as follows:
If Type(lvar) # "U"
...
endif
The content of "lvar" is a property related to an automation server wich returns "U" in my case.
When I remove this IF, the form's datasession was successfully cleared. This indicate a bug, I think.
I'm using VFP6 SP5.
I hope this can be a clue for similar problems.
Fabio