Microsoft KB Archive/105597

{| = BUG: Delete Label Not Working in FoxPro 2.5/2.5a for MS-DOS =
 * width="100%"|

ID: Q105597

The information in this article applies to:


 * Microsoft FoxPro for MS-DOS, versions 2.5, 2.5a

SYMPTOMS
When you are creating a label in FoxPro for MS-DOS, there is an option to delete one of the previously saved label layouts. However, the Delete Layout command on the Label menu of the Label Generator does not work in FoxPro versions 2.5 or 2.5a for MS-DOS.

RESOLUTION
To work around this problem, issue the following commands:

SET RESOURCE OFF USE SYS(2005) EXCLUSIVE BROWSE ** delete the record with the label layout: ID will be LBLLAYOUT, ** name will be what you named it  PACK USE SET RESOURCE ON

STATUS
Microsoft has confirmed this to be a problem in FoxPro versions 2.5 and 2.5a for MS-DOS. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Steps to Reproduce Problem
1. In the Command window, issue the following command:

CREATE LABEL TEST 2. From the Label menu, choose Save Layout. 3. Press the DEL key. In the Layout dialog box, type "TEST" (without the

quotation marks), and then choose the Save As button. 4. From the Label menu, choose Delete Layout, select the TEST layout,  and then choose the Delete button. 5. From the Label menu, choose the Layout. The TEST layout option will   still appear in the list of available label layouts. Additional reference words: FoxDos 2.50 2.50a buglist2.50 buglist2.50a KBCategory: kbprg kbbuglist KBSubcategory:
 * }