Hi All,
 
I tried to send this to the RB7 server but it does not seem to be going through so I thought I would see if any of you converting 6.5 to 7.1 might have a thought.
I have run into a problem with forms containing EEPs that worked fine in 6.5++  but act strangely when run with TRACE in 7.1.
 
I have short eep that assigns a variable when leaving a button.  The button has a custom eep:
 
FVar.eep using 'X', 'Prn1'
The FVar.eep contains:
 
  SET V FormVar TEXT = .%2
  IF %1 = 'X' THEN
    CLOSEWINDOW
  ELSE
  ENDIF
  RETURN
 
FormVar is processed by a SWITCH statement after the form closes.  It seems to work fine when run normally, but here is the strange behavior when run from TRACE.
 
- When the button is clicked, TRACE shows the first line in the EEP as expected.
- Pressing F10 takes the highlight straight to the RETURN line, unexpectedly skipping all the lines in between.
- Pressing F10 returns to the form.
- Clicking the button a second time again shows the Highlight on the first line in the TRACE screen.
- This time pressing F10 processes each line correctly as expected.
- After the RETURN is processed, the form closes and the calling module unexpectedly processes as if the F5 key had been pressed or TRACE is no longer functioning.
 
The form is called from a simple while loop with:
...
    EDIT USING AskQuestion WHERE FSId = 1
...
 
This behavior makes it difficult to troubleshoot any problems after the form as TRACE is no longer providing step by step functionality.
 
Anyone else encounter a problem like this.
 
Thanks,
Michael
 

Michael Moser
EXAQ Micro Services
www.exaq.com
Phone: 916-966-8313
Fax: 916-966-8313

Reply via email to