Knowledge Base

BUG: Mixed Case Option Does Not Function Properly in Beautify

Article ID: 201131

Article Last Modified on 10/16/2002


APPLIES TO


This article was previously published under Q201131

SYMPTOMS

The Documenting Wizard and the Beautify command do not properly capitalize keywords when Mixed case is chosen as the keyword capitalization method.

RESOLUTION

One possible resolution is to USE the fdkeywrd.dbf file and change the capitalization of the keywords contained in the file. The following code accomplishes this:
   *-- Code begins here
   USE HOME()+"WIZARDS\FDKEYWRD"
   REPLACE ALL Token WITH PROPER(Token)
   USE
   *-- Code ends here
				

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Enter the following into an editing window:
        CLEAR
        SET CLOCK ON
        CLOSE DATA
    					
  2. Select the code. Right-click the Editing window and click Beautify.
  3. Click Mixed case in the Keywords list box. Click Run.

    Note that only CLEAR is changed to Mixed case capitalization.

Keywords: kbbug kbmisctools kbxbase KB201131