Visual FoxPro 9: Logical changes after printing
Posted on 2011-03-25
I have a simple table with .T./.F. logical fields used to control which programs run. When I set several fields to .T. so that the respecive programs will run, then open the debugger to "watch" the status of the fields during processing, I found that, when a REPORT FORM form_name command is executed, the field value (in memory) changes to .F. I've never seen this happen before. For example, the table value shown in the watch window is SUBMIT.PROGRAM1=.T. After the REPORT FORM command executes, the value in the watch window becomes SUBMIT.PROGRAM1=.F.
I also found that, if I open the Data Session window and browse my control table while processing is on hold in the debugger, the actual field value remains .T., and when I return to the debugger, the field value (in memory) has returned to .T.
Has anyone seen this behavior before? How can I correct this?