BUG: RETURN TO <Filename>.SPR Does Not Work in .APPs or .EXEsID: Q121685 2.5x 2.60 2.60a WINDOWS kbprg kbbuglist The information in this article applies to:
SYMPTOMSThe RETURN TO <filename>.SPR command does not work if it is executed within an .APP or .EXE file.
WORKAROUNDThe RETURN TO <filename>.SPR command will work if it is changed to RETURN TO <filename>.PRG. However, this method has a drawback: Every time you modify and regenerate your screen (.SCX), you have to issue the RENAME command to rename the newly generated screen to a .PRG file.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Problem1. In the FoxPro Command window, issue the following command:
2. Type the following code in MAIN.PRG and save it:
3. In the FoxPro Command window, issue the following command:
5. Add an input field with M.CHOICE in the Input text box and the
6. Add a push button with OK as the prompt and the Terminate READ On
7. Save the screen.
8. In the FoxPro Command window, issue the following command:
9. Click the Add button to add MAIN.PRG as a Program type. FoxPro
10. Click the Add button again to add TEST.SCX as a Screen type.
11. Build an application called MYTEST.APP. 12. Run MYTEST.APP. 13. Type "123" (without the quotation marks) in the input field on the 14. Run MAIN.PRG.
15. Repeat step 13. Note that RETURN TO TEST.SPR returns to the OK button on the screen. The READ is still active. Additional reference words: FoxWin buglist2.50 buglist2.50a buglist2.50b buglist2.60 buglist2.60a 2.50 2.50a 2.50b 2.60 2.60a KBCategory: kbprg kbbuglist KBSubcategory: FxtoolGeneral
|
|
Last Reviewed: February 18, 1996 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |