FIX: Wizards Fail If Path Is Longer Than 38 Characters

ID: Q114174

2.60    | 2.60
WINDOWS | MS-DOS kbprg kbfixlist kbbuglist

The information in this article applies to:

SYMPTOMS

The Report, Label, and Screen Wizards are not recalled when the Modify button is chosen.

NOTE: This problem does not occur with the Query Wizard.

CAUSE

The wizards are installed in a directory path that contains more than 38 characters.

For example, the parameter block for the .SCX file contains the line:

   *WIZNAME = <path to WZ_QFORM.APP>

If the path after the equal sign is more than 38 characters (for example, *WIZNAME = C:\DIREC1\DIREC2\FOXPRO\WIZARDS\WZ_QFORM.APP, which is 44 characters), the Catalog Manager will call the Screen Builder instead of the Screen Wizard to modify the file. If the path is 38 characters or less, the time stamp is read correctly, and the Screen Wizard is called.

RESOLUTION

Shorten the directory path for FoxPro. In order for FoxPro to correctly recall the wizards, the directory path should be no more 17 characters.

For example, the default directory structure that FoxPro uses (C:\FPW26) is fine, but a directory structure longer than 17 characters, such as C:\DATABASE\DATA\FOXPROW, will cause the wizards to fail.

STATUS

Microsoft has confirmed this to be a problem in FoxPro 2.6 for Windows and FoxPro 2.6 for MS-DOS. This problem was corrected in FoxPro 2.6a for Windows and FoxPro 2.6a for MS-DOS.

MORE INFORMATION

Steps to Reproduce Problem

1. Install FoxPro in a directory path with more than 17 characters, such as

   C:\DIREC1\DIREC2\FOXPRO.

2. In the Catalog Manager, create a screen by using the Screen Wizard.

3. Save the screen and return to the Catalog Manager.

4. Modify the screen by choosing the Modify button.

The Screen Builder, rather than the Screen Wizard, will appear.

Additional reference words: FoxDos FoxWin 2.60 buglist2.60 fixlist2.60a KBCategory: kbprg kbfixlist kbbuglist KBSubcategory: FxtoolWizscreen Solution Type : kbfix

Last Reviewed: October 20, 1997