I have a form in VFP 9 that is usually called from another form with 2 parameters.
I've got a strange thing happening: when I execute DO FORM jobless_add
in command window, the first parameter is always set to "2", while no parameters were added.
As a result, I have EMPTY(par1) == false
and EMPTY(par2) == true
. After that I've tried to open the form in the normal way (from the other form's button click with 2 parameters) and I've gotten this result in debugger
This is my first visit, so I cant insert images. Link: image (hint: Locals: all ok, Watches: "2" again)
NOTE: I have no global variables yet.