Hello,
In FoxPro 2.6 I have a problem that I do not understand.
I have a screen, and in the screen setup code I define a variable myVar = "".
This myVar is the value of a textbox control on the screen.
On the screen itself there is an optiongroup with a valid code, where I call a function, passing MyVar by reference like myFunc("JOBS", @myVar)
In the moment the valid is triggered, I get an error "Variable not found", and the error line refers to the textbox control of the screen where I show myVar. Debugging the read clause of the textbox gives datatype "U" for the variable, but in the function call the variable is there. It seems that the variable 'goes lost' for a short moment.
Does anybody have an idea what goes wrong here?
Any help highly appreciated!
Christian Isberner
Software Consultant