Microsoft KB Archive/191698

= BUG: View Parameter Cannot Be Removed From Parameters List =

Article ID: 191698

Article Last Modified on 8/12/1999

-

APPLIES TO


 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q191698



SYMPTOMS
In a SQL View that has only one parameter, deleting the parameter through the Parameter's list in the View Designer does not delete the parameter.



RESOLUTION
Delete the parameter using the following code: DBSETPROP('testview','view','parameterlist','')



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.



Steps to Reproduce Behavior
  Run the following code in the Command window, or a program file: CREATE DATA test1 CREATE TABLE tbl1 (fld1 c(10),fld2 c(10)) CREATE SQL VIEW testview AS SELECT * FROM tbl1 WHERE fld1 = ?Param1 DBSETPROP("testview","view","parameterlist","Param1,'C'")  Modify the View "testview" in the View Designer. From the Query menu, choose View Parameters. Click the button to the left of the parameter to select the parameter. Click the Delete button. Close the View Parameters dialog box.</li> Save and close the view.</li> Modify the view in the View Designer.</li> Look at the parameters list in the View Parameters dialog box.</li></ol>

Note that the parameter is listed when it should not be.

Additional query words: kbVFp600bug kbDesigner kbVFp600

Keywords: kbbug kbpending KB191698

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.